forked from isieo/adbFS
-
Notifications
You must be signed in to change notification settings - Fork 73
38 lines (35 loc) · 871 Bytes
/
ccpp.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
name: C/C++ CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build-deps
run: sudo apt-get -y install libfuse-dev
- name: make
run: make
- name: copy-binary
uses: actions/upload-artifact@v4
with:
name: adbfs-bin
retention-days: 5
path: |
./adbfs
test:
needs: build
runs-on: ubuntu-latest
services:
emulator:
image: budtmo/docker-android:emulator_12.0
options: --privileged
steps:
- uses: actions/checkout@v4
- name: prepare
run: sudo apt-get update && sudo apt-get install -y fuse libfuse-dev
- name: get-adbfs-binary
uses: actions/download-artifact@v4
with:
name: adbfs-bin
- name: run-tests
run: sudo bash ./docker/run-docker-test.sh