Skip to content

Commit

Permalink
use ubuntu latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jumormt committed Dec 19, 2024
1 parent 27656e7 commit ee6dd71
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_publish_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
docker-x86-image:
if: github.repository == 'SVF-tools/SVF'
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand All @@ -31,7 +31,7 @@ jobs:

dispatch:
needs: docker-x86-image
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
matrix:
repo: ['SVF-tools/Software-Security-Analysis', 'SVF-tools/Teaching-Software-Analysis', 'SVF-tools/Teaching-Software-Verification', 'SVF-tools/SVF-example']
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
XCODE_VERSION: '15.3.0'
strategy:
matrix:
os: [ubuntu-22.04, macos-latest]
os: [ubuntu-latest, macos-latest]
include:
- os: [ubuntu-22.04]
- os: [ubuntu-latest]
sanitizer: address
steps:
# checkout the repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/svf-lib_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
XCODE_VERSION: '15.3.0' # Define Xcode version here to reuse it
strategy:
matrix:
os: [ubuntu-22.04, macos-latest]
os: [ubuntu-latest, macos-latest]
steps:
# checkout the repo
- uses: actions/checkout@v2
Expand Down
10 changes: 6 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,12 @@ BUILD_DIR="./${BUILD_TYPE}-build"
rm -rf "${BUILD_DIR}"
mkdir "${BUILD_DIR}"
# If you need shared libs, turn BUILD_SHARED_LIBS on
cmake -D CMAKE_BUILD_TYPE:STRING="${BUILD_TYPE}" \
-DSVF_ENABLE_ASSERTIONS:BOOL=true \
-DSVF_SANITIZE="${SVF_SANITIZER}" \
-DBUILD_SHARED_LIBS=off \
cmake -D CMAKE_BUILD_TYPE:STRING="${BUILD_TYPE}" \
-DCMAKE_C_COMPILER="${LLVM_DIR}/bin/clang" \
-DCMAKE_CXX_COMPILER="${LLVM_DIR}/bin/clang++" \
-DSVF_ENABLE_ASSERTIONS:BOOL=true \
-DSVF_SANITIZE="${SVF_SANITIZER}" \
-DBUILD_SHARED_LIBS=off \
-S "${SVFHOME}" -B "${BUILD_DIR}"
cmake --build "${BUILD_DIR}" -j ${jobs}

Expand Down

0 comments on commit ee6dd71

Please sign in to comment.