Compress base.img using FastLZ library
This commit is contained in:
32
FastLZ/.github/workflows/amd64_macos_gcc.yml
vendored
Normal file
32
FastLZ/.github/workflows/amd64_macos_gcc.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: amd64_macos_gcc
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
||||
amd64_macos_gcc:
|
||||
runs-on: macos-12
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
CC: gcc-9
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Retrieve test compression corpus
|
||||
run: |
|
||||
git clone https://github.com/ariya/compression-corpus.git
|
||||
cd compression-corpus
|
||||
cd enwik
|
||||
unzip enwik8.zip
|
||||
- run: brew install gcc@9
|
||||
- run: gcc-9 --version
|
||||
- run: cd tests && make roundtrip
|
||||
name: Perform round-trip tests
|
||||
- name: 'Build examples: 6pack and 6unpack'
|
||||
run: cd examples && make
|
||||
- name: 'Run examples: 6pack and 6unpack'
|
||||
run: |
|
||||
cd examples
|
||||
./6pack -v
|
||||
./6pack ../compression-corpus/enwik/enwik8.txt archive.6pk
|
||||
./6unpack -v
|
||||
./6unpack archive.6pk
|
||||
Reference in New Issue
Block a user