File tree 3 files changed +37
-2
lines changed
3 files changed +37
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ push :
5
+
6
+ jobs :
7
+ tests :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ -
11
+ name : Set up QEMU
12
+ uses : docker/setup-qemu-action@v3
13
+ -
14
+ name : Set up Docker Buildx
15
+ uses : docker/setup-buildx-action@v3
16
+ -
17
+ name : Login to Docker Hub
18
+ uses : docker/login-action@v3
19
+ with :
20
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
21
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
22
+ -
23
+ name : Build and push
24
+ uses : docker/build-push-action@v6
25
+ with :
26
+ push : ${{ github.ref == 'refs/heads/master' }}
27
+ tags : iantorres/expressions:latest
Original file line number Diff line number Diff line change 1
- CMAKE_MINIMUM_REQUIRED (VERSION 3.28 )
1
+ CMAKE_MINIMUM_REQUIRED (VERSION 3.25 )
2
2
PROJECT (Expressions VERSION 1.0.0 LANGUAGES CXX)
3
3
4
4
SET (CMAKE_CXX_STANDARD 23)
5
5
SET (CMAKE_CXX_STANDARD_REQUIRED True )
6
6
7
- OPTION (BUILD_TESTS "Build tests" ON )
7
+ OPTION (BUILD_TESTS "Build tests" OFF )
8
8
9
9
INCLUDE (FetchContent)
10
10
Original file line number Diff line number Diff line change
1
+ FROM iantorres/boosted:latest
2
+
3
+ COPY . .
4
+
5
+ RUN cmake . -DBUILD_TESTS=ON \
6
+ && make \
7
+ && cd bin \
8
+ && ./tests
You can’t perform that action at this time.
0 commit comments