Update api_usage.md #630
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci-cpu | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| linux: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| jobname: [JACC-serial, JACC-threads] | |
| os: [ubuntu-latest, ubuntu-24.04-arm] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout Action | |
| uses: actions/checkout@v4 | |
| - name: Instantiate | |
| run: | | |
| which julia || curl -fsSL https://install.julialang.org | sh -s -- -y | |
| . /home/runner/.bash_profile | |
| julia --project -e 'using Pkg; Pkg.instantiate();' | |
| - name: Test Serial | |
| if: contains(matrix.jobname, '-serial') | |
| run: | | |
| . /home/runner/.bash_profile | |
| julia --project -e 'using Pkg; Pkg.test()' | |
| - name: Test Threads | |
| if: contains(matrix.jobname, '-threads') | |
| run: | | |
| . /home/runner/.bash_profile | |
| julia -t 4 --project -e 'using Pkg; Pkg.test()' | |
| macos: | |
| runs-on: macos-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| jobname: [JACC-serial, JACC-threads] | |
| steps: | |
| - name: Checkout Action | |
| uses: actions/checkout@v4 | |
| - name: Instantiate | |
| run: | | |
| brew install julia | |
| julia --project -e 'using Pkg; Pkg.instantiate();' | |
| - name: Test Serial | |
| if: contains(matrix.jobname, '-serial') | |
| run: julia --project -e 'using Pkg; Pkg.test()' | |
| - name: Test Threads | |
| if: contains(matrix.jobname, '-threads') | |
| run: julia -t 3 --project -e 'using Pkg; Pkg.test()' |