Skip to content

Commit

Permalink
revert wip mode
Browse files Browse the repository at this point in the history
  • Loading branch information
omochi committed Jun 10, 2024
1 parent 99d1fdb commit 221d2a0
Showing 1 changed file with 41 additions and 43 deletions.
84 changes: 41 additions & 43 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
swift-install:
dir: "swift-6.0-branch/xcode"
version: "swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-08-a"
# - os: macos-14
# xcode: "15.4"
# swift: "5.10"
# - os: macos-13
# xcode: "15.2"
# swift: "5.9.2"
- os: macos-14
xcode: "15.4"
swift: "5.10"
- os: macos-13
xcode: "15.2"
swift: "5.9.2"

steps:
- name: Checkout the repository
Expand All @@ -41,8 +41,6 @@ jobs:
SWIFT_DIR: ${{ matrix.swift-install.dir }}
SWIFT_VERSION: ${{ matrix.swift-install.version }}

- run: env

- name: Check Swift version
run: swift --version

Expand All @@ -57,38 +55,38 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# swift-test-linux:
# name: Build and test on Linux with Swift ${{ matrix.swift.version }}
# timeout-minutes: 40
# runs-on: ubuntu-22.04
# steps:
# - name: Skip now
# run: echo hello world

# - name: Checkout the repository
# uses: actions/checkout@v4

# - name: Install Swift toolchain
# uses: ./.github/actions/install-swift
# with:
# swift-dir: ${{ matrix.swift.dir }}
# swift-version: ${{ matrix.swift.version }}

# - name: Check Swift version
# run: swift --version

# - name: Install dependent packages for WebAssembly
# run: >
# sudo apt-get update && sudo apt-get install -y
# wabt binaryen

# - name: Install WebAssembly runtime
# uses: bytecodealliance/actions/wasmtime/setup@v1

# - name: Build the project
# run: swift build --build-tests

# - name: Run tests
# run: swift test
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
swift-test-linux:
name: Build and test on Linux with Swift ${{ matrix.swift.version }}
timeout-minutes: 40
runs-on: ubuntu-22.04
steps:
- name: Skip now
run: echo hello world

- name: Checkout the repository
uses: actions/checkout@v4

- name: Install Swift toolchain
uses: ./.github/actions/install-swift
with:
swift-dir: ${{ matrix.swift.dir }}
swift-version: ${{ matrix.swift.version }}

- name: Check Swift version
run: swift --version

- name: Install dependent packages for WebAssembly
run: >
sudo apt-get update && sudo apt-get install -y
wabt binaryen
- name: Install WebAssembly runtime
uses: bytecodealliance/actions/wasmtime/setup@v1

- name: Build the project
run: swift build --build-tests

- name: Run tests
run: swift test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 221d2a0

Please sign in to comment.