mirror of
https://github.com/skidoodle/mediaproxy
synced 2025-10-14 09:45:09 +02:00
forgot vips
This commit is contained in:
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
@@ -7,7 +7,6 @@ on:
|
|||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -18,6 +17,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: '1.25.1'
|
go-version: '1.25.1'
|
||||||
|
|
||||||
|
- name: Install Vips
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y libvips-dev
|
||||||
|
|
||||||
- name: Cache Go Modules
|
- name: Cache Go Modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
@@ -27,7 +29,7 @@ jobs:
|
|||||||
${{ runner.os }}-go-
|
${{ runner.os }}-go-
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./...
|
run: CGO_ENABLED=1 go build -v ./...
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./...
|
run: CGO_ENABLED=1 go test -v ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user