2023-12-30 20:16:34 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "main"
|
|
|
|
pull_request:
|
|
|
|
# all PRs on all branches
|
2020-09-17 22:44:58 +00:00
|
|
|
name: "tests/linux"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-12-30 19:02:10 +00:00
|
|
|
go-version: [1.21.x]
|
2020-09-17 22:44:58 +00:00
|
|
|
platform: [ubuntu-latest]
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
|
2023-12-30 22:44:31 +00:00
|
|
|
- name: Install fuse
|
|
|
|
run: sudo apt-get install --yes fuse3
|
|
|
|
|
2020-09-17 22:44:58 +00:00
|
|
|
- name: Symlink source into GOPATH for devcam
|
|
|
|
run: |
|
|
|
|
mkdir $(go env GOPATH)/src
|
|
|
|
ln -s $(pwd) $(go env GOPATH)/src/perkeep.org
|
|
|
|
|
|
|
|
- name: Build and test
|
|
|
|
run: |
|
2021-12-27 20:18:08 +00:00
|
|
|
go run make.go -v=true
|
|
|
|
devcam test
|