Skip to content

Commit

Permalink
Add GitHub action for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Nov 14, 2022
1 parent 86fcd43 commit ad2bb3d
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI for GDCEF
on:
workflow_dispatch:
branches:
- master
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build_linux:
name: Build on Linux
runs-on: ubuntu-20.04
steps:
- name: Checkout GDCEF
uses: actions/checkout@v3
with:
submodules: true
- name: Install system packages
run: |
sudo apt-get update
cd addons/gdcef
python3 -m pip install -r requirements.txt
- name: Compile GDCEF
run: |
cd addons/gdcef
python3 build.py
- name: Check build
run: |
cd build
ls gdcefSubProcess libgdcef.so libcef.so

0 comments on commit ad2bb3d

Please sign in to comment.