forked from mrks/dbgen.JCC-H
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure compiler and silence warnings of Clang-17 (#1)
- Loading branch information
Showing
13 changed files
with
149 additions
and
51 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
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 -k -b ../dists.dss | ||
- name: Generate Queries | ||
run: | | ||
mkdir generated_queries && cd generated_queries && ln -s ../queries/*.sql . | ||
# With skew and seed 123. | ||
../qgen -k -s 0.01 -b ../dists.dss -r 123 -l params > /dev/null | ||
# Without skew and seed 1234. | ||
../qgen -s 0.01 -b ../dists.dss -r 1234 -l params > /dev/null |
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
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
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
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
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
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
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
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
Oops, something went wrong.