Build linux sample with musl

- Change sample build to use musl on linux
- Optionally remove version from jar so that
  e2e tests don't need to use version in path.
- Add better matrix to e2e so that we're able to
  build on one OS and then test with others.
- Fixes #576
This commit is contained in:
Janne Valkealahti
2022-11-30 15:39:10 +00:00
parent d3e897f6d9
commit 0899d414de
7 changed files with 92 additions and 26 deletions

View File

@@ -7,8 +7,8 @@ export const cliPathRelative = isWindows
? '..\\..\\spring-shell-samples\\build\\native\\nativeCompile\\spring-shell-samples.exe'
: '../../spring-shell-samples/build/native/nativeCompile/spring-shell-samples';
export const jarPathRelative = isWindows
? '..\\..\\spring-shell-samples\\build\\libs\\spring-shell-samples-3.0.0-SNAPSHOT.jar'
: '../../spring-shell-samples/build/libs/spring-shell-samples-3.0.0-SNAPSHOT.jar';
? '..\\..\\spring-shell-samples\\build\\libs\\spring-shell-samples.jar'
: '../../spring-shell-samples/build/libs/spring-shell-samples.jar';
export const cliPath = path.resolve(cliPathRelative);
export const jarPath = path.resolve(jarPathRelative);
export const nativeDesc = 'native';