From b441af0b44e09bdf6cd1ec3ae6b66a5d749b1e7b Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 31 May 2022 07:05:02 +0200 Subject: [PATCH] Create deforaos-c-ci_ubuntu-latest.yml --- .../workflows/deforaos-c-ci_ubuntu-latest.yml | 27 +++++++++++++++++++ 1 file changed, 27 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..bf9327d --- /dev/null +++ b/.github/workflows/deforaos-c-ci_ubuntu-latest.yml @@ -0,0 +1,27 @@ +name: DeforaOS C CI (ubuntu-latest) + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - 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" -M i386-debug + - name: make ARCH="i386" + run: PKG_CONFIG_PATH="$HOME/opt/DeforaOS/lib/pkgconfig" make CCSHARED="cc -shared" + - name: make ARCH="i386" tests + run: PKG_CONFIG_PATH="$HOME/opt/DeforaOS/lib/pkgconfig" make CCSHARED="cc -shared" tests + - name: make ARCH="i386" distcheck + run: PKG_CONFIG_PATH="$HOME/opt/DeforaOS/lib/pkgconfig" make CCSHARED="cc -shared" distcheck