Kakoune 2024.05.18 #9
Workflow file for this run
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 static binaries for Linux | |
on: | |
release: | |
types: [published, edited] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: alpine:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.release.tag_name }} | |
- name: Prepare | |
run: apk add --no-cache binutils bzip2 g++ git make tar | |
- name: Build | |
run: | | |
mkdir -p kakoune-${{ github.event.release.tag_name }}-linux/ | |
make -j$(nproc) PREFIX=$(pwd)/kakoune-${{ github.event.release.tag_name }}-linux static=yes install strip | |
tar cvjf kakoune-${{ github.event.release.tag_name }}-linux.tar.bz2 kakoune-${{ github.event.release.tag_name }}-linux/ | |
- name: Upload | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: kakoune-${{ github.event.release.tag_name }}-linux.tar.bz2 |