From f801eca1518e9d271a6ed9b8491c991214699a05 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 26 Jan 2025 03:39:50 +0100 Subject: [PATCH] deforaos-c-ci_ubuntu-latest: import new workflow --- .../workflows/deforaos-c-ci_ubuntu-latest.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/deforaos-c-ci_ubuntu-latest.yml diff --git a/.github/workflows/deforaos-c-ci_ubuntu-latest.yml b/.github/workflows/deforaos-c-ci_ubuntu-latest.yml new file mode 100644 index 0000000..a150e30 --- /dev/null +++ b/.github/workflows/deforaos-c-ci_ubuntu-latest.yml @@ -0,0 +1,25 @@ +name: DeforaOS C CI (ubuntu-latest) + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: bootstrap libSystem + run: git clone https://github.com/DeforaOS/libSystem.git libSystem && for dir in include data src; do (cd libSystem/$dir && make PREFIX="$HOME/opt/DeforaOS" install); done + - name: bootstrap configure + run: git clone https://github.com/DeforaOS/configure.git configure && (cd configure/src && PKG_CONFIG_PATH="$HOME/opt/DeforaOS/lib/pkgconfig" make PREFIX="$HOME/opt/DeforaOS" install) + - name: configure + run: $HOME/opt/DeforaOS/bin/configure -p "$HOME/opt/DeforaOS" + - name: make + run: PKG_CONFIG_PATH="$HOME/opt/DeforaOS/lib/pkgconfig" make CCSHARED="cc -shared" + - name: make tests + run: PKG_CONFIG_PATH="$HOME/opt/DeforaOS/lib/pkgconfig" make CCSHARED="cc -shared" tests