CI #1410
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: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 12 * * *' # Every day noon UTC | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go: | |
- "1.17.x" # Golang upstream stable | |
- "1.18.x" # Golang upstream stable | |
- "1.19.x" # Golang upstream stable | |
- "1.20.x" # Golang upstream stable | |
- "1.21.x" # Golang upstream stable | |
- "1.22.x" # Golang upstream stable | |
- "1.23.x" # Golang upstream stable | |
GOMAXPROCS: | |
- "" # Use all cpus (default). | |
- "1" # Single-cpu mode. Some failures are only visible like this. | |
# Don't cancel everything when one Go version fails | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go ${{ matrix.go }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Make "git describe" work | |
# CI platform specific setup steps happen here | |
- run: sudo apt-get install -qq fuse3 libssl-dev libfuse-dev | |
- run: echo user_allow_other | sudo tee -a /etc/fuse.conf | |
# Actual test steps are in all.bash | |
- run: GOMAXPROCS="${{ matrix.GOMAXPROCS }}" ./all.bash |