Skip to content

Commit

Permalink
fixup! Try operating system specific jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Jul 24, 2023
1 parent 402559e commit b5b2e13
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:

FreeBSD:
name: FreeBSD ${{ matrix.architecture }} ${{ matrix.version }} on ${{ matrix.host }}
runs-on: ${{ matrix.host }}
runs-on: ${{ matrix.host.name }}
timeout-minutes: 5
strategy:
fail-fast: false
Expand All @@ -329,12 +329,15 @@ jobs:
- '12.2'

architecture:
- x86-64
- arm64
- name: x86-64
uname: amd64
- name: arm64

host:
- macos-12
- ubuntu-latest
- name: macos-12
work_directory: /Users/runner/work/action/action
- name: ubuntu-latest
work_directory: /home/runner/work/action/action

exclude:
- version: '12.2'
Expand All @@ -353,8 +356,8 @@ jobs:
architecture: ${{ matrix.architecture }}
version: ${{ matrix.version }}
uname_release: ${{ matrix.version}}-RELEASE
uname_hardware: asd
work_directory: asd
uname_hardware: ${{ architecture.uname || architecture.name }}
work_directory: ${{ host.work_directory }}

# test-no-env:
# timeout-minutes: 5
Expand Down

0 comments on commit b5b2e13

Please sign in to comment.