Skip to content

Commit

Permalink
Edit entropy
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph-Edwards committed Dec 14, 2024
1 parent 1574d7c commit b119f53
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,36 +266,33 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
CXX: "ccache clang++-18"
CXX: "ccache clang++"
strategy:
matrix:
type: ["Thread", "Address", "UndefinedBehaviour"]
include:
- type: "Thread"
cxx_flags: "-fdiagnostics-color -fsanitize=thread -fPIE -pie -fno-omit-frame-pointer -g -O2"
ld_flags: "-fsanitize=thread"
- type: "Address"
cxx_flags: ""
ld_flags: ""
- type: "UndefinedBehaviour"
cxx_flags: ""
ld_flags: ""
# - type: "Address"
# cxx_flags: ""
# ld_flags: ""
# - type: "UndefinedBehaviour"
# cxx_flags: ""
# ld_flags: ""
steps:
- uses: actions/checkout@v3
- name: "Setup ccache . . ."
uses: Chocobo1/setup-ccache-action@v1
with:
update_packager_index: false
install_ccache: true
- name: "Install dependencies . . ."
run: |
sudo wget -q https://apt.llvm.org/llvm.sh
sudo chmod u+x llvm.sh
sudo ./llvm.sh 18
- name: "Set entropy . . ."
run: sudo sysctl vm.mmap_rnd_bits=28
- name: "Configure . . ."
run: |
mkdir -p m4 && ./autogen.sh
./configure CXX="$CXX" CXXFLAGS="{{ matrix.cxx_flags }}" LDFLAGS="{{ matrix.ld_flags }}"
./configure CXX="$CXX" CXXFLAGS="${{ matrix.cxx_flags }}" LDFLAGS="${{ matrix.ld_flags }}"
- name: "Build libsemigroups . . ."
run: make -j4
- name: "Build test_all . . ."
Expand Down

0 comments on commit b119f53

Please sign in to comment.