Skip to content

Commit

Permalink
Fixup swift (CI) actions workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Mar 15, 2024
1 parent 518cede commit e9817fd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Swift
name: Swift (macOS)

on: [push]

Expand All @@ -7,7 +7,7 @@ jobs:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [macos-14]
swift: ["5.9"]
runs-on: ${{ matrix.os }}
steps:
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/swift-ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Swift (Ubuntu)

on: [push]

jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
swift: ["5.9"]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@v2
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Install BZ2
run: sudo apt install libbz2-dev
- name: Install ZLib
run: sudo apt install zlib1g-dev
- name: Install Python
run: sudo apt install python3-dev
- name: Install Boost
run: sudo apt install libboost-all-dev
- name: Build
run: swift build -c release --target UsdView
- name: Run tests
run: swift test

0 comments on commit e9817fd

Please sign in to comment.