Skip to content

Commit

Permalink
Use machine architecture when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
delasy committed Feb 2, 2025
1 parent e925379 commit 38b449e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- run: sudo apt-get install mingw-w64 ninja-build
- run: curl -fsSL https://cdn.thelang.io/deps.tar.gz | sudo tar -C /usr/local -xz
- if: matrix.config.platform == 'macos'
run: echo "THE_DEPS_DIR=/usr/local/the/cross-compile/${{ matrix.config.platform }}/x86_64" >> $GITHUB_ENV
run: echo "THE_DEPS_DIR=/usr/local/the/cross-compile/${{ matrix.config.platform }}/$(uname -m)" >> $GITHUB_ENV
- if: matrix.config.platform != 'macos'
run: echo "THE_DEPS_DIR=/usr/local/the/cross-compile/${{ matrix.config.platform }}" >> $GITHUB_ENV
- run: echo "/usr/local/the/osxcross/bin" >> $GITHUB_PATH
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- if: runner.os == 'Linux'
run: echo "THE_DEPS_DIR=$PWD/the/native/${{ matrix.config.platform }}" >> $GITHUB_ENV
- if: runner.os == 'macOS'
run: echo "THE_DEPS_DIR=$PWD/the/native/${{ matrix.config.platform }}/x86_64" >> $GITHUB_ENV
run: echo "THE_DEPS_DIR=$PWD/the/native/${{ matrix.config.platform }}/$(uname -m)" >> $GITHUB_ENV
- if: runner.os == 'Windows'
run: echo "THE_DEPS_DIR=$PWD/the/native/${{ matrix.config.platform }}" | Out-File -FilePath $env:GITHUB_ENV -Append
- if: matrix.config.memcheck != 'memcheck'
Expand Down

0 comments on commit 38b449e

Please sign in to comment.