Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Nov 30, 2023
1 parent 179d411 commit e71822c
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 4 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/ci.yml
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
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# Exa-Application
# Browser application rendering ExaequOS

Python3 script for compiling application for https://github.com/exaequos for Linux, Windows and Mac OSX.
The application is [CEF](https://bitbucket.org/chromiumembedded/cef/wiki/Home) based.
Python3 script compiling the browser application rendering the online version of
[ExaequOS](https://github.com/exaequos).

## Compilation

Compile for Linux, Windows and Mac OSX.

```
python3 -m pip install -r requirements.txt
python3 build.py
```

The `ExaequOS/` folder with all its artfacts shall have been created. To start the `ExaequOS` application
The `ExaequOS/` folder with all its artfacts shall have been created.

## Running

To start the `ExaequOS` application:

```
cd ExaequOS
Expand Down

0 comments on commit e71822c

Please sign in to comment.