-
Notifications
You must be signed in to change notification settings - Fork 21
43 lines (39 loc) · 925 Bytes
/
cs.yml
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
name: C#
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
container:
image: rust:1.72-bullseye
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Build
run: |
cargo build --release --package uniffi-bindgen-cs
test-bindings:
runs-on: ubuntu-latest
container:
image: ghcr.io/nordsecurity/uniffi-bindgen-cs-test-runner:v0.1.0
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: Test bindings
shell: bash
env:
# Github sets HOME to /github/home and breaks dependencies in Docker image..
# https://github.com/actions/runner/issues/863
HOME: /root
run: |
source ~/.bashrc
./build.sh
./generate_bindings.sh
./test_bindings.sh