Add support for aarch64 Linux #1471
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
unit-test: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- run: npm install | |
- run: npm run format-check | |
- run: npm test | |
integration-test: | |
name: Integrate Swift ${{ matrix.swift }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
swift: ["5.10"] | |
include: | |
- os: windows-latest | |
swift: "5.6.3" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- run: npm install | |
- run: npm run build && npm run pack-source-map | |
- uses: ./ | |
with: | |
swift-version: ${{ matrix.swift }} | |
- name: Swift version | |
run: swift --version | grep ${{ matrix.swift }} || exit 1 |