Skip to content

Commit

Permalink
codeql build: assign apt to Linux, not macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
smoe committed Mar 12, 2024
1 parent 4aa41ae commit 8760fe9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ jobs:
- name: Install Dependencies - Linux
if: runner.os == 'linux'
run: |
brew install wxwidgets m4 tinyxml zstd autoconf libtool automake
brew install libpng sqlite
brew install dylibbundler
sudo apt-get update
sudo apt install libwxgtk3.2-dev || sudo apt install wx3.2-headers
- name: Install Dependencies - MacOS
if: runner.os == 'macos'
run: |
sudo apt-get update
sudo apt install libwxgtk3.2-dev || sudo apt install wx3.2-headers
brew install wxwidgets m4 tinyxml zstd autoconf libtool automake
brew install libpng sqlite
brew install dylibbundler
- name: remove local redundancy to build-deps
if: runner.os == 'linux' || runner.os == 'macOS'
run: rm -f mysql* sqlite* && rm -rf clustalw tinyxml
Expand Down

0 comments on commit 8760fe9

Please sign in to comment.