Skip to content

Commit

Permalink
Merge pull request #8 from crow-misia/fix_ci
Browse files Browse the repository at this point in the history
ci: fixed CI failure to compile due to libsoundio not installed
  • Loading branch information
crow-misia authored Nov 6, 2024
2 parents f4f598d + e83a707 commit 3d542fd
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 28 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build

on:
workflow_dispatch:
push:
branches:
- "main"
paths-ignore:
- ".idea/**"
- ".vscode/**"
- "LICENSE"
- "*.md"
pull_request:
paths-ignore:
- ".vscode/**"
- "LICENSE"
- "*.md"

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[skip build]') == false

strategy:
matrix:
go-version: [1.22, 1.23]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install libsoundio
run: |
sudo apt-get install libsoundio2 libsoundio-dev
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .
28 changes: 0 additions & 28 deletions .github/workflows/go.yml

This file was deleted.

0 comments on commit 3d542fd

Please sign in to comment.