From 74da0bad568505b938171e3eea02c3ed84735131 Mon Sep 17 00:00:00 2001 From: JamesWP Date: Sun, 24 Nov 2019 17:24:11 +0000 Subject: [PATCH 1/5] Create main.yml --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..750a471 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +name: CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: install deps + run: apt-get install -y g++ gcc pkg-config libsdl2-dev libsdl2-ttf-dev libsdl2-ttf-dev libicu-dev libboost-dev libboost-system-dev libgtest-dev libgmock-dev + - name: configure and build + run: mkdir bld && cd bld && cmake -CMAKE_BUILD_TYPE=Release .. && cmake --build . + From 12410f7ae9cd74ba306178af4a2512275c88f16c Mon Sep 17 00:00:00 2001 From: JamesWP Date: Sun, 24 Nov 2019 17:28:45 +0000 Subject: [PATCH 2/5] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 750a471..ef98d86 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: install deps - run: apt-get install -y g++ gcc pkg-config libsdl2-dev libsdl2-ttf-dev libsdl2-ttf-dev libicu-dev libboost-dev libboost-system-dev libgtest-dev libgmock-dev + run: apt-get install -y g++ gcc pkg-config libsdl2-dev libsdl2-ttf-dev libsdl2-ttf-dev libicu-dev libboost-dev libboost-system-dev libgtest-dev libgmock-dev fonts-ubuntu - name: configure and build run: mkdir bld && cd bld && cmake -CMAKE_BUILD_TYPE=Release .. && cmake --build . From 0a7260c60f5bb1474804e47ddfef86db2f588d35 Mon Sep 17 00:00:00 2001 From: JamesWP Date: Sun, 24 Nov 2019 17:29:34 +0000 Subject: [PATCH 3/5] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ef98d86..fc23de3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: install deps - run: apt-get install -y g++ gcc pkg-config libsdl2-dev libsdl2-ttf-dev libsdl2-ttf-dev libicu-dev libboost-dev libboost-system-dev libgtest-dev libgmock-dev fonts-ubuntu + run: sudo apt-get install -y g++ gcc pkg-config libsdl2-dev libsdl2-ttf-dev libsdl2-ttf-dev libicu-dev libboost-dev libboost-system-dev libgtest-dev libgmock-dev fonts-ubuntu - name: configure and build run: mkdir bld && cd bld && cmake -CMAKE_BUILD_TYPE=Release .. && cmake --build . From dbb8800fe9ab945a347a32b4ff0f694a2f955bb0 Mon Sep 17 00:00:00 2001 From: JamesWP Date: Sun, 24 Nov 2019 17:33:01 +0000 Subject: [PATCH 4/5] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc23de3..63fc9ff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: [push] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 From 8c2c3453313dc440d2e662da0e548754657b485f Mon Sep 17 00:00:00 2001 From: JamesWP Date: Sun, 24 Nov 2019 17:34:47 +0000 Subject: [PATCH 5/5] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 63fc9ff..941617d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: [push] jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-19.04 steps: - uses: actions/checkout@v1