Rename main
branch
#21
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: ${{matrix.name}} | |
runs-on: ${{matrix.os}} | |
env: | |
CC: ${{matrix.cc}} | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Ubuntu-GCC | |
cc: gcc | |
os: ubuntu-latest | |
- name: Ubuntu-Clang | |
cc: clang | |
os: ubuntu-latest | |
- name: macOS-AppleClang | |
cc: clang | |
os: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: System Information | |
run: | | |
awk -v a=$(uname) 'BEGIN { a == "Linux" ? system("cat /etc/issue") : system("sw_vers") }' | |
${CC} --version | |
- name: Make | |
run: | | |
make | |
- name: Generate SF 0.01 Data | |
run: | | |
mkdir generated_data && cd generated_data | |
../dbgen -f -s 0.01 -T a -b ../dists.dss | |
diff ../sample_data_sf-0.01/customer.tbl customer.tbl | |
diff ../sample_data_sf-0.01/date.tbl date.tbl | |
diff ../sample_data_sf-0.01/lineorder.tbl lineorder.tbl | |
diff ../sample_data_sf-0.01/part.tbl part.tbl | |
diff ../sample_data_sf-0.01/supplier.tbl supplier.tbl |