index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2021-06-22 20:25:22.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2021-06-22 20:25:22.0 +00:00:00
commit
9daa56093ec4b2aa3c09cc79e32127e8d4730c9a [patch]
tree
3a0c318ba42e547b4bfc94c4dc624633eb842913
parent
af5c704e9189cb96deaaedefc2328829fabd7445
download
9daa56093ec4b2aa3c09cc79e32127e8d4730c9a.tar.gz

refactor: ci macos arm64 specific items



Diff

 .github/workflows/devel.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/devel.yml b/.github/workflows/devel.yml
index 4b50bb0..3331bcf 100644
--- a/.github/workflows/devel.yml
+++ b/.github/workflows/devel.yml
@@ -100,6 +100,16 @@ jobs:
        echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV
        echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV

    - name: aarch64 specific items
      if: matrix.build == 'macos-arm64'
      run: |
        # Use the beta compiler
        sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer/

        # Set SDK environment variables
        echo "SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path)" >> $GITHUB_ENV
        echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version)" >> $GITHUB_ENV

    - name: Run tests
      run: ${{ env.CARGO }} test --verbose