Bump sandbox version to work with Julia nightly #529
Workflow file for this run
This file contains 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 | |
on: | |
push: | |
branches: "main" | |
tags: ["*"] | |
pull_request: | |
release: | |
jobs: | |
test: | |
name: Julia ${{ matrix.julia-version }} ${{ matrix.julia-arch }} build_local=${{ matrix.build-local-sandbox }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: | |
- "1.7" | |
- "1" | |
- "nightly" | |
julia-arch: | |
- "x64" | |
build-local-sandbox: | |
- "true" | |
- "false" | |
steps: | |
- name: Allow creation of user namespaces (e.g. to the unshare command) | |
run: | | |
# .. so that we don't get error: | |
# Idea from https://github.com/YoYoGames/GameMaker-Bugs/issues/6015#issuecomment-2135552784 | |
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0 | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.julia-arch }} | |
- uses: julia-actions/cache@v2 | |
- uses: julia-actions/julia-runtest@v1 | |
env: | |
SANDBOX_BUILD_LOCAL_SANDBOX: ${{ matrix.build-local-sandbox }} | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v5 | |
with: | |
files: lcov.info | |
token: ${{ secrets.CODECOV_TOKEN }} | |
Documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: "^1.7.0-0" | |
- uses: julia-actions/cache@v2 | |
- uses: julia-actions/julia-docdeploy@releases/v1 | |
env: | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |