Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Run CI also on macOS #133

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ env:

jobs:
test:
name: Julia ${{ matrix.julia-version }} - x64 - runner ${{ matrix.runner }} - SquashFS ${{ matrix.squashfs }}
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - x64 - runner ${{ matrix.runner }} - SquashFS ${{ matrix.squashfs }}
timeout-minutes: 30
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
env:
BINARYBUILDER_RUNNER: ${{ matrix.runner }}
BINARYBUILDER_USE_SQUASHFS: ${{ matrix.squashfs }}
Expand All @@ -28,23 +28,36 @@ jobs:
- runner: privileged
squashfs: true
julia-version: "1.6"
os: ubuntu-latest

# Add a job that uses the unprivileged builder with unpacked shards
- runner: unprivileged
squashfs: false
julia-version: "1.6"
os: ubuntu-latest

# Add a job that uses the docker builder with unpacked shards
- runner: docker
squashfs: false
julia-version: "1.6"
os: ubuntu-latest

- runner: docker
squashfs: false
julia-version: "1.6"
os: macos-latest

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: x64
- name: Install Docker
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew install docker-machine docker
docker-machine start
- uses: julia-actions/julia-buildpkg@latest
- name: System info
run: julia --project=. --color=yes -e "using BinaryBuilderBase; BinaryBuilderBase.versioninfo()"
Expand Down