File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 2525 uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
2626 with :
2727 windows_exclude_swift_versions : " [{\" swift_version\" : \" 5.9\" }]"
28+
29+ cmake-build :
30+ name : CMake Build
31+ runs-on : ubuntu-latest
32+ container :
33+ image : swift:6.0-jammy
34+ steps :
35+ - name : Checkout repo
36+ uses : actions/checkout@v4
37+ - name : Install apt dependencies
38+ run : apt-get -qq update && apt-get -qq -y install curl ninja-build
39+ - name : Install CMake 3.30.2
40+ run : |
41+ ARCH=`uname -m`
42+ curl -sL https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-$ARCH.tar.gz -O
43+ tar xzf cmake-3.30.2-linux-$ARCH.tar.gz
44+ export PATH="`pwd`/cmake-3.30.2-linux-$ARCH/bin:$PATH"
45+ echo "PATH=$PATH" >> $GITHUB_ENV
46+ cmake --version
47+ - name : Configure CMake
48+ run : cmake -GNinja -S . -B .cmake-build -DBUILD_EXAMPLES=1 -DBUILD_TESTING=0
49+ - name : Build
50+ run : cmake --build .cmake-build
51+
2852 soundness :
2953 name : Soundness
3054 uses : swiftlang/github-workflows/.github/workflows/soundness.yml@main
You can’t perform that action at this time.
0 commit comments