From a4a0b7b90d8ea73c0397814433ac5e9039e6954b Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Mon, 29 Jan 2024 23:45:12 +0100 Subject: [PATCH] Test ski build --- .github/workflows/build_ski.yml | 42 +++++++++++++++++++++++++++++++++ .github/workflows/mirror.yml | 6 ++--- 2 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/build_ski.yml diff --git a/.github/workflows/build_ski.yml b/.github/workflows/build_ski.yml new file mode 100644 index 0000000000000..39ee705323535 --- /dev/null +++ b/.github/workflows/build_ski.yml @@ -0,0 +1,42 @@ +name: 'build_ski' +on: + workflow_dispatch: + +jobs: + build_ski: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + repository: johnny-mnemonic/ski + ref: master + path: ski + + - name: install_prereqs + run: | + sudo apt update + # basic build depends: + sudo apt install binutils-dev libelf-dev libiberty-dev libncurses-dev + # dev-only depends: + sudo apt install autoconf autoconf-archive automake flex bison gperf pkg-config + + - name: Generate ./configure + run: | + cd ski + ./autogen.sh + + - name: Configure + run: | + cd ski + ./configure --prefix=$PWD/install + + - name: Build + run: | + cd ski + make -j$(nproc) + + - name: Install + run: | + cd ski + make -j$(nproc) install diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index ed027c166ca40..7c64fffc54da1 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -1,8 +1,8 @@ name: 'make-sandwich' on: - push: - branches: - - __mirror + #push: + # branches: + # - __mirror schedule: # Run everyday at 3 AM UTC - cron: '0 3 * * *'