-
-
Notifications
You must be signed in to change notification settings - Fork 53
57 lines (51 loc) · 1.51 KB
/
Copy pathci.yaml
File metadata and controls
57 lines (51 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: ci-flow
on:
pull_request:
push:
branches:
- master
- "releases/*"
# tags-ignore:
# - "[0-9]+.[0-9]+.[0-9]+*"
permissions:
contents: read
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
build:
runs-on: ${{ matrix.os.imageName }}
strategy:
matrix:
os:
- imageName: ubuntu-latest
- imageName: macOS-latest
# - imageName: windows-latest
steps:
- uses: actions/checkout@v4
- uses: mozilla-actions/sccache-action@v0.0.9
- uses: jdx/mise-action@v2
with:
cache: false
cache_save: false
- run: mise run ci
# for list of xcode sdk see https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners#xcode
# DEVELOPER_DIR: "/Applications/Xcode_11.app/Contents/Developer"
integration:
# Integration tests are linux only
runs-on: ubuntu-latest
steps:
- uses: nolar/setup-k3d-k3s@v1
with:
# version: v1.20
# k3d-kube
k3d-name: kube
# Used to avoid rate limits when fetching the releases from k3s repo.
# Anonymous access is limited to 60 requests / hour / worker
# github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: mozilla-actions/sccache-action@v0.0.9
- uses: jdx/mise-action@v2
- name: Run on k3d
run: cargo run