Skip to content

Commit

Permalink
Use older OSes in GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mooreryan committed Jan 19, 2023
1 parent da4620b commit 7a303c7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
- macos-11
- ubuntu-20.04
ocaml-compiler:
- 4.14.0

Expand All @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v2

- run: brew install tree
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-11'

- run: echo "LOCAL_PATH=$HOME/.local/bin" >> $GITHUB_ENV

Expand All @@ -54,15 +54,15 @@ jobs:
https://github.com/soedinglab/MMseqs2/releases/download/13-45111/mmseqs-linux-sse2.tar.gz \
| tar xz \
&& mv mmseqs/bin/mmseqs "$LOCAL_PATH"
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-20.04'

- name: Download & Install MMseqs2 (macOS)
run: |
\curl -L \
https://github.com/soedinglab/MMseqs2/releases/download/13-45111/mmseqs-osx-universal.tar.gz \
| tar xz \
&& mv mmseqs/bin/mmseqs "$LOCAL_PATH"
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-11'

- name: Download & Install NCBI BLAST+ (ubuntu)
run: |
Expand All @@ -71,7 +71,7 @@ jobs:
| tar xz \
&& mv ncbi-blast-2.12.0+/bin/rpsblast "${LOCAL_PATH}/rpsblast+" \
&& mv ncbi-blast-2.12.0+/bin/makeprofiledb "${LOCAL_PATH}/makeprofiledb"
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-20.04'

- name: Download & Install NCBI BLAST+ (macOS)
run: |
Expand All @@ -80,7 +80,7 @@ jobs:
| tar xz \
&& mv ncbi-blast-2.12.0+/bin/rpsblast "${LOCAL_PATH}/rpsblast+" \
&& mv ncbi-blast-2.12.0+/bin/makeprofiledb "${LOCAL_PATH}/makeprofiledb"
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-11'

- name: Use OCaml ${{ matrix.ocaml-compiler }} (ubuntu)
uses: ocaml/setup-ocaml@v2
Expand All @@ -90,7 +90,7 @@ jobs:
cache-prefix: v1-${{ matrix.os }}
opam-pin: false
opam-depext: false
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-20.04'

- name: Use OCaml ${{ matrix.ocaml-compiler }} (macOS)
uses: ocaml/setup-ocaml@v2
Expand All @@ -100,7 +100,7 @@ jobs:
cache-prefix: v1-${{ matrix.os }}
opam-pin: false
opam-depext: false
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-11'

- name: Install tiny_config
run: |
Expand All @@ -127,7 +127,7 @@ jobs:
run: |
opam install bisect_ppx
opam exec -- make send_coverage
if: matrix.ocaml-compiler == '4.14.0' && matrix.os == 'ubuntu-latest'
if: matrix.ocaml-compiler == '4.14.0' && matrix.os == 'ubuntu-20.04'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 7a303c7

Please sign in to comment.