mirror of
https://github.com/gen2brain/x264-go.git
synced 2026-04-22 16:17:04 +08:00
Update actions
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
on: [push, pull_request]
|
||||
name: Build
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.19.x]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: go build
|
||||
|
||||
test-extlib:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update -y; sudo apt-get -y install libx264-dev
|
||||
- name: Build
|
||||
run: go build -tags extlib
|
||||
@@ -1,17 +0,0 @@
|
||||
on: [push, pull_request]
|
||||
name: Test
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install package
|
||||
run: |
|
||||
sudo apt-get -y install libx264-dev
|
||||
- name: Test
|
||||
run: go build -tags extlib
|
||||
@@ -1,5 +1,5 @@
|
||||
## x264-go
|
||||
[](https://github.com/gen2brain/x264-go/actions)
|
||||
[](https://github.com/gen2brain/x264-go/actions)
|
||||
[](https://godoc.org/github.com/gen2brain/x264-go)
|
||||
[](https://goreportcard.com/report/github.com/gen2brain/x264-go)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user