Use template env vars #106
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
# -------------------------------------------------------------------------------- | |
# This workflow was automatically generated by Action Status 2.0.5 (461). | |
# (see https://actionstatus.elegantchaos.com for more details) | |
# -------------------------------------------------------------------------------- | |
name: Tests | |
on: [push, pull_request] | |
jobs: | |
macOS-swift-53: | |
name: macOS (Swift 5.3) | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Make Logs Directory | |
run: mkdir logs | |
- name: Xcode Version | |
run: | | |
ls -d /Applications/Xcode* | |
sudo xcode-select -s /Applications/Xcode_12.3.app | |
xcodebuild -version | |
swift --version | |
- name: Swift Version | |
run: swift --version | |
- name: Build (Release) | |
run: swift build -c release | |
- name: Upload Logs | |
uses: actions/upload-artifact@v1 | |
if: always() | |
with: | |
name: logs | |
path: logs | |
macOS-swift-55: | |
name: macOS (Swift 5.5) | |
runs-on: macos-11 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Make Logs Directory | |
run: mkdir logs | |
- name: Xcode Version | |
run: | | |
ls -d /Applications/Xcode* | |
sudo xcode-select -s /Applications/Xcode_13.0.app | |
xcodebuild -version | |
swift --version | |
- name: Swift Version | |
run: swift --version | |
- name: Build (Release) | |
run: swift build -c release | |
- name: Upload Logs | |
uses: actions/upload-artifact@v1 | |
if: always() | |
with: | |
name: logs | |
path: logs | |
linux-swift-53: | |
name: Linux (Swift 5.3) | |
runs-on: ubuntu-18.04 | |
container: swift:5.3.3-bionic | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Make Logs Directory | |
run: mkdir logs | |
- name: Swift Version | |
run: swift --version | |
- name: Build (Release) | |
run: swift build -c release | |
- name: Upload Logs | |
uses: actions/upload-artifact@v1 | |
if: always() | |
with: | |
name: logs | |
path: logs | |
linux-swift-55: | |
name: Linux (Swift 5.5) | |
runs-on: ubuntu-18.04 | |
container: swiftlang/swift:nightly-5.5-bionic | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Make Logs Directory | |
run: mkdir logs | |
- name: Swift Version | |
run: swift --version | |
- name: Build (Release) | |
run: swift build -c release | |
- name: Upload Logs | |
uses: actions/upload-artifact@v1 | |
if: always() | |
with: | |
name: logs | |
path: logs | |