mirror of
https://github.com/charmbracelet/harmonica.git
synced 2026-07-19 10:09:33 -06:00
Also build examples in build workflow
This commit is contained in:
parent
d651067009
commit
37ee95df51
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -17,14 +17,21 @@ jobs:
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
|
||||
- name: Checkout code
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Download Go modules
|
||||
- name: Download Go Modules
|
||||
run: go mod download
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Build Examples (on Ubuntu)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get install libgl1-mesa-dev xorg-dev
|
||||
go build -v ./...
|
||||
working-directory: ./examples
|
||||
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user