Skip to content

Bump to Swift 6 compiler for Linux #221

Bump to Swift 6 compiler for Linux

Bump to Swift 6 compiler for Linux #221

Workflow file for this run

name: Wasm
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
wasmer_test:
name: Execute tests on WASM
strategy:
fail-fast: false
matrix:
swift_version: ["6.0-SNAPSHOT-2024-09-18-a", "DEVELOPMENT-SNAPSHOT-2024-09-20-a"]
os: [ubuntu-22.04]
extra_params: [""]
runs-on: ${{ matrix.os }}
env:
OPENGRAPH_WERROR: 1
OPENGRAPH_ATTRIBUTEGRAPH: 0
OPENGRAPH_COMPATIBILITY_TEST: 0
steps:
- uses: actions/checkout@v4
- uses: swiftwasm/setup-swiftwasm@v1
with:
swift-version: wasm-${{ matrix.swift_version }}
- name: build
run: |
swift build --triple wasm32-unknown-wasi ${{ matrix.extra_params }}
- name: test
run: |
swift test --triple wasm32-unknown-wasi ${{ matrix.extra_params }}