Skip to content

Commit

Permalink
Tests on Linux (#60).
Browse files Browse the repository at this point in the history
  • Loading branch information
oscbyspro committed Aug 19, 2023
1 parent b761a97 commit 97f9a6b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/tests-on-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Tests on Linux

on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
linux:
strategy:
matrix:
element:
- swift: '5.7'
withStaticBigInt: false
- swift: '5.8'
withStaticBigInt: true

runs-on: ubuntu-latest
container:
image: swift:${{ matrix.element.swift }}

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: swift test
- name: Test with StaticBigInt
if: matrix.element.withStaticBigInt
run: swift test -Xswiftc -DSBI

0 comments on commit 97f9a6b

Please sign in to comment.