feat: update vendored xz to 5.6.1 #50
Workflow file for this run
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: Linux x86 | |
on: [push, pull_request] | |
jobs: | |
FullCompile: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
cCompiler: [ "clang", "gcc" ] | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.16.x | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Retrieve submodule | |
run: git submodule update --init | |
- name: Build | |
run: CC=${{ matrix.cCompiler }} go build internal/goxz/goxz.go | |
- name: Test | |
run: CC=${{ matrix.cCompiler }} go test ./... | |
PrecompiledLZMA: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.16.x | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Retrieve submodule | |
run: git submodule update --init | |
- name: Build | |
run: CGO_CFLAGS=-DGOXZ_SKIP_C_COMPILATION CGO_LDFLAGS=-llzma go build internal/goxz/goxz.go | |
- name: Test | |
run: CGO_CFLAGS=-DGOXZ_SKIP_C_COMPILATION CGO_LDFLAGS=-llzma go test ./... | |