Skip to content

Commit

Permalink
1718367164
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh Kulykov committed Jun 14, 2024
1 parent cc706bc commit 5af4336
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/swift-multi-platform.yml
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Swift

on:
push:
branches: [ "master", "dev", "tmp" ]

jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.0", "5.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: ${{ matrix.swift }}
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
run: swift test
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1026,4 +1026,3 @@ if(LIBPLZMA_OPT_TESTS)
# This must always be last!
include(CPack)
endif(LIBPLZMA_OPT_TESTS)

0 comments on commit 5af4336

Please sign in to comment.