Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into _update-deps/runti…
Browse files Browse the repository at this point in the history
…meverification/hs-backend-booster
  • Loading branch information
devops committed Sep 20, 2023
2 parents 9b7ec44 + 69b2cfe commit 9a90424
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
set -euxo pipefail
workspace=$(pwd)
docker run --name ci-${GITHUB_SHA} \
docker run --name k-posting-profiling-tests-${GITHUB_SHA} \
--rm -it --detach \
-e BENCHER_API_TOKEN=$BENCHER_API_TOKEN \
-e BENCHER_PROJECT=$BENCHER_PROJECT \
Expand All @@ -73,20 +73,20 @@ jobs:
- name: 'Setting up dependencies'
run: |
set -euxo pipefail
docker exec -t k-profiling-tests-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/setup_profiling.sh SKIP_K_BUILD'
docker exec -t k-posting-profiling-tests-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/setup_profiling.sh SKIP_K_BUILD'
- name: 'Getting Performance Tests Results'
run: |
set -euxo pipefail
docker exec -t ci-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/post_results_to_develop.py'
docker exec -t k-posting-profiling-tests-${GITHUB_SHA} /bin/bash -c './k-distribution/tests/profiling/post_results_to_develop.py'
- name: 'Posting Performance Tests Results'
run: |
set -euxo pipefail
docker exec -t ci-${GITHUB_SHA} /bin/bash -c 'bencher run \
docker exec -t k-posting-profiling-tests-${GITHUB_SHA} /bin/bash -c 'bencher run \
--if-branch "develop" --else-if-branch "master" \
--file .profiling-results.json --err --ci-only-on-alert \
--github-actions "${GITHUB_TOKEN}" 'echo "Exporting report"'
- name: 'Tear down Docker'
if: always()
run: |
docker stop --time=0 ci-${GITHUB_SHA}
docker container rm --force ci-${GITHUB_SHA} || true
docker stop --time=0 k-posting-profiling-tests-${GITHUB_SHA}
docker container rm --force k-posting-profiling-tests-${GITHUB_SHA} || true
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# NB booster-backend will bring in another dependency on haskell-backend,
# but the two are not necessarily the same (different more often than not).
# We get two transitive dependencies on haskell-nix.
inputs.k-framework.follows = "";
inputs.nixpkgs.follows = "haskell-backend/nixpkgs";
};
llvm-backend.url = "github:runtimeverification/llvm-backend";
Expand Down
1 change: 1 addition & 0 deletions k-distribution/src/main/scripts/lib/k
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ulimit -s "$(ulimit -H -s)"
K_BASE="$(cd "$(dirname "${BASH_SOURCE[0]}")/../" && pwd)"
GIT_DESCRIBE="${K_BASE}/kframework/git-describe.out"
TIMESTAMP="${K_BASE}/kframework/timestamp.out"
version=

for flag in "$@"; do
if [[ "$flag" == "--version" ]]; then
Expand Down

0 comments on commit 9a90424

Please sign in to comment.