Skip to content

Commit

Permalink
try to store github flow artefact
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Mar 16, 2020
1 parent 2787b58 commit 7aa1239
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ccpp.yml → .github/workflows/ccpp-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: C/C++ CI
name: C/C++ CI linux

on: [push]

Expand All @@ -9,10 +9,13 @@ jobs:

steps:
- uses: actions/checkout@v1

- name: pkg
run: sudo apt-get install -y --no-install-recommends g++ autoconf automake libtool xz-utils libasound2-dev libgtk-3-dev cmake p7zip-full

- name: depot_tools
run: git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git

- name: fetch webrtc
run: |
export PATH=$(pwd)/depot_tools:$PATH
Expand All @@ -22,10 +25,17 @@ jobs:
sed -i -e "s|'src/resources'],|'src/resources'],'condition':'rtc_include_tests==true',|" src/DEPS
gclient sync
popd
- name: cmake
- name: build
run: |
export PATH=$(pwd)/depot_tools:$PATH
cmake -DWEBRTCROOT=./webrtc -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ .
- name: make
run: |
make VERBOSE=1
cmake -DWEBRTCROOT=$(pwd)/webrtc -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ .
make
- name: cpack
run: cpack -B $(pwd)/artifact

- uses: actions/upload-artifact@v1
with:
name: pkg
path: artifact
2 changes: 1 addition & 1 deletion .github/workflows/ccpp-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
PYTHONIOENCODING: UTF-8
GCLIENT_PY3: 1

- name: cmake
- name: build
shell: cmd
run: |
dir /b /s "C:\Program Files (x86)\vcvars64.bat"
Expand Down

0 comments on commit 7aa1239

Please sign in to comment.