-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bb79be
commit a4a0b7b
Showing
2 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
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