File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,37 @@ permissions:
99 actions : write
1010 contents : read
1111jobs :
12+ test-windows-mac :
13+ # Compile but don't test on these platforms
14+ name : Julia ${{ matrix.triplet}} - ${{ github.event_name }}
15+ runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ triplet : ['aarch64-apple-darwin', 'x86_64-w64-mingw32-cxx11']
20+ steps :
21+ - uses : actions/checkout@v4
22+ # Install Julia 1.7 for BinaryBuilder. Note that this is an old version of
23+ # Julia, but it is required for compatibility with BinaryBuilder.
24+ - uses : julia-actions/setup-julia@v2
25+ with :
26+ version : " 1.7"
27+ arch : x64
28+ - uses : julia-actions/cache@v2
29+ # Set the environment variables required by BinaryBuilder.
30+ - run : |
31+ git fetch --tags
32+ echo "HIGHS_RELEASE=$(git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//')" >> $GITHUB_ENV
33+ if [ "${{ github.event_name }}" = "pull_request" ]; then
34+ echo "HIGHS_COMMIT=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
35+ echo "HIGHS_URL=${{ github.event.pull_request.head.repo.clone_url }}" >> $GITHUB_ENV
36+ else
37+ echo "HIGHS_COMMIT=${{ github.sha }}" >> $GITHUB_ENV
38+ echo "HIGHS_URL=https://github.com/${{ github.repository }}.git" >> $GITHUB_ENV
39+ fi
40+ - run : |
41+ julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
42+ julia --color=yes .github/julia/build_tarballs.jl ${{ matrix.triplet }} --verbose --deploy="local"
1243 test :
1344 name : Julia - ${{ github.event_name }}
1445 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments