goatastronaut0212 is triggering on GitHub Actions 🚀 #82
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: Release ibus-bamboo | |
run-name: ${{ github.actor }} is triggering on GitHub Actions 🚀 | |
on: [push] | |
jobs: | |
Build-test-freebsd: | |
runs-on: ubuntu-latest | |
name: Build and Test in FreeBSD | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 1 | |
- name: Setup VM, download dependencies to build and test in FreeBSD | |
id: test | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
prepare: | | |
pkg install -y bash gmake go gcc pkgconf libX11 libXtst gtk3 | |
run: | | |
gmake t && gmake build | |
Build-test-nix-flake: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
- name: Build flake | |
run: nix build | |
- name: Use flake devShell | |
run: nix develop | |
Releaser: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 1 | |
- run: sudo apt-get update && sudo apt-get install -y make libibus-1.0-dev libx11-dev libxtst-dev libgtk-3-dev osc | |
- run: make t && make build | |
- shell: bash | |
env: | |
OSC_USER: ${{ secrets.OSC_USER }} | |
OSC_PASS: ${{ secrets.OSC_PASS }} | |
OSC_PATH: ${{ secrets.OSC_PATH }} | |
GH_TAG: ${{ github.ref_name }} | |
run: | | |
chmod +x osc.bash | |
./osc.bash | |
- run: echo "🍏 This job's status is ${{ job.status }}." |