-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Native image test placeholder (#4350)
Adding a mostly empty job so I can iterate on tests in actual PR
- Loading branch information
1 parent
0d93009
commit 52dffd6
Showing
1 changed file
with
44 additions
and
0 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,44 @@ | ||
name: Native Image Tests | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
native-image-tests: | ||
name: Run Native Image Tests | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
# https://github.com/actions/checkout/releases | ||
# v4.1.1 | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Checkout GitHub merge | ||
if: github.event.pull_request | ||
run: |- | ||
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch | ||
git checkout scratch | ||
- name: Cache Coursier cache | ||
# https://github.com/coursier/cache-action/releases | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
# https://github.com/coursier/setup-action/releases | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.11 | ||
|
||
- name: Gather version | ||
run: |- | ||
echo `git describe --tags | sed -e "s/v\(.*\)-\([0-9][0-9]*\).*/\\1+\\2-/"``git rev-parse HEAD | head -c8`-SNAPSHOT > ~/.version | ||
cat ~/.version | ||
- name: Publish artifacts locally | ||
run: |- | ||
sbt "publishLocal" |