-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
179d411
commit e71822c
Showing
2 changed files
with
75 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: CI for ExaequOS | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
|
||
############################################################################# | ||
### Linux | ||
############################################################################# | ||
build_linux: | ||
name: Build on Linux | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout ExaequOS | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Install system packages | ||
run: | | ||
sudo apt-get update | ||
python3 -m pip install -r requirements.txt | ||
- name: Compile ExaequOS | ||
run: | | ||
python3 build.py | ||
- name: Check build | ||
run: | | ||
cd ExaequOS | ||
ls ExaequOS libcef.so | ||
############################################################################# | ||
### Windows | ||
############################################################################# | ||
build_windows: | ||
name: Build on Windows | ||
runs-on: windows-2022 | ||
steps: | ||
# Add path for finding cl.exe | ||
# FIXME: I dunno why Godot editor and godot-cpp can find cl.exe while our | ||
# godot native modules cannot find it without this extra path | ||
- uses: ilammy/msvc-dev-cmd@v1.10.0 | ||
|
||
- name: Checkout ExaequOS | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Install system packages | ||
shell: powershell | ||
run: | | ||
python3 -m pip install -r requirements.txt | ||
- name: Compile ExaequOS | ||
shell: powershell | ||
run: | | ||
python3 build.py | ||
- name: Check build | ||
run: | | ||
Test-Path -Path \a\exa-application\ExaequOS\ExaequOS.exe | ||
Test-Path -Path \a\exa-application\ExaequOS\libcef.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters