Skip to content

Commit

Permalink
fixup! Try
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Jun 27, 2023
1 parent 26b953d commit 432a279
Showing 1 changed file with 26 additions and 21 deletions.
47 changes: 26 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,27 @@ defaults:

jobs:
test:
name: Test (${{ matrix.os.target_triple }})
runs-on: ${{ matrix.os.host == 'freebsd' && 'macOS-latest' || matrix.os.host }}
name: Test (${{ matrix.data.os.target_triple }})
runs-on: ${{ matrix.data.os.host }}
continue-on-error: ${{ matrix.nightly == 'nightly' }}
strategy:
matrix:
arch: [x86_64]
os:
- host: macOS-latest
target_triple: x86_64-apple-macos10.9

- host: windows-latest
target_triple: x86_64-pc-windows-msvc
data:
- os:
host: macOS-latest
target_triple: x86_64-apple-macos10.9

# - os:
# host: windows-latest
# target_triple: x86_64-pc-windows-msvc

- os:
target: freebsd
target_triple: x86_64-unknown-freebsd13.1
version: '13.1'
host: macOS-latest
cross_platform_actions: true

# - macOS-latest
# - ubuntu-latest
Expand Down Expand Up @@ -116,21 +125,17 @@ jobs:
run: ./configure --llvm-path llvm-${{ matrix.llvm }} --statically-link-clang

- name: Test
if: ${{ matrix.os != 'freebsd' }}
if: matrix.data.cross_platform_actions == false
run: dub test --verror

# - name: Test FreeBSD
# if: ${{ matrix.os == 'freebsd' }}
# uses: cross-platform-actions/[email protected]
# with:
# shell: bash
# operating_system: freebsd
# version: 12.2
# environment_variables: DLP_COMPILER DLP_ARCH
# run: |
# sudo pkg update
# sudo pkg install -y bash curl gnupg git llvm-90
# ./.github/workflows/ci.sh
- name: Test
if: matrix.data.cross_platform_actions
uses: cross-platform-actions/[email protected]
with:
shell: bash
operating_system: ${{ matrix.data.os.target }}
version: ${{ matrix.data.os.version }}
run: dub test --verror

# create_release:
# name: Create Release
Expand Down

0 comments on commit 432a279

Please sign in to comment.