build_ski #2
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
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: ./autogen.sh | |
- name: Configure | |
run: ./configure --prefix=$PWD/install | |
- name: Build | |
run: make -j$(nproc) | |
- name: Install | |
run: make -j$(nproc) install |