diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e5e001..cd5002d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,11 +37,11 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies run: | - sudo apt install libxkbcommon-dev libwxgtk3.0-gtk3-dev + sudo apt install libxkbcommon-dev libwxgtk3.0-gtk3-dev libdbus-1-dev - name: Install cargo-make run: | cargo install --force cargo-make - - name: Check build + - name: Build run: cargo make build-binary --env NO_X11=true check-macos-arm: @@ -53,7 +53,10 @@ jobs: - name: Install cargo-make run: | cargo install --force cargo-make - - name: Check build - run: cargo make build-macos-arm-binary + - name: Build + run: | + SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path) \ + MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version) \ + cargo make build-macos-arm-binary # TODO: add clippy check \ No newline at end of file