Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci #17

Merged
merged 6 commits into from
Apr 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 8 additions & 15 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,27 @@ jobs:
uses: actions/checkout@v3.5.2

- name: Restore APT cache
uses: actions/cache@v2.1.8
uses: actions/cache@v3
with:
path: /var/cache/apt
key: ${{ runner.os }}-apt

- name: Restore cached SPM dependencies
uses: actions/cache@v2.1.8
uses: actions/cache@v3
with:
path: |
.build/repositories
.build/checkouts
key: ${{ runner.os }}-spm-deps-${{ hashFiles('**/Package.resolved') }}
path: .build
key: swiftpm-${{ runner.os }}-${{ inputs.swift-version }}-${{ hashFiles('Package.swift') }}
restore-keys: |
${{ runner.os }}-spm-deps-
swiftpm-${{ runner.os }}-${{ inputs.swift-version }}-
swiftpm-${{ runner.os }}-

- name: Install dependencies
run: |
apt update
apt-get install -y curl
apt-get install -y sqlite3
apt-get install -y libsqlite3-dev
apt-get install -y libsdl2-dev
apt-get install -y libvulkan-dev
apt-get install -y libvulkan1
apt-get install -y vulkan-utils
apt install -y curl sqlite3 libsqlite3-dev libsdl2-dev libvulkan-dev libvulkan1

- name: Build Release
run: make build-release
run: swift build -c release

- name: Upload build artifacts
if: failure()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:

jobs:
macOS-build-release:
runs-on: macOS-11
runs-on: macOS-latest
strategy:
matrix:
xcode: ["13.0"]
xcode: ["14.2"]
steps:
- name: Checkout
uses: actions/checkout@v3.5.2
Expand Down