commit 1808ca96ec84390915ace0678bc824d92cc3d1b3 Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 13:29:10 2024 +0100 change action name commit 5a966bbe77463a93ab210cd4b6a122ab1d440486 Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 13:22:16 2024 +0100 cpp standard global commit 673d1457162dda9018712d0a19ac5b3954ad265f Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 13:21:36 2024 +0100 add glew dep commit b64eb6dd3ef535183dd0620beeeaa99deb323c97 Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 13:16:23 2024 +0100 confirm commit 1bf8065179b74f3dd194e05739a064097bdc2ebd Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 13:15:37 2024 +0100 remove sudo commit 2dc4ee69ebba3821916963a96621d6f8b59d4808 Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 13:09:55 2024 +0100 install apt commit 69574b9c5a5074c2fdf87dfc8c068d9c64f7704c Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 10:31:11 2024 +0100 add xmake cache commit 4d7d04c6722ca8e94d10569f25ae582265866948 Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 01:21:45 2024 +0100 aaaaaaaaaaaaaaaaaa commit aa7dac26cd9900c676e4662fadb7832700a3363a Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 01:13:08 2024 +0100 fiiiiiiiiiiiiiix xmake root commit 3604b44d04f492254911a0508e8555aca61b4d26 Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 01:05:43 2024 +0100 fix xmake root commit cfcb8d4df46c6febeca47dff2f0447048b8f68ad Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 01:03:56 2024 +0100 run xmake as root commit dbef2d27138ccce1124cc1979867baf15e897a7f Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 00:54:54 2024 +0100 xmake action commit 42196398ced1e7f38c0234d82dc7cd65ef7aeb6d Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 00:53:29 2024 +0100 xmake commit 51256d8c15066120c2df3a72063856a0a47f8b59 Author: Simon Pribylski <sim16.prib@gmail.com> Date: Mon Jan 1 00:47:35 2024 +0100 Fix Linux.yaml add cert commit 9c024fa8eb92765aff3fb195ce7c8c10a1b49d0b Author: Simon Pribylski <sim16.prib@gmail.com> Date: Sun Dec 31 22:34:54 2023 +0100 Add Linux actions
This commit is contained in:
33
.gitea/workflows/linux.yaml
Normal file
33
.gitea/workflows/linux.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Linux arm
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Ignore cert signature
|
||||
run: git config --global http.sslverify false
|
||||
|
||||
- name: Install deps
|
||||
run : |
|
||||
apt update
|
||||
apt install -y libsdl2-dev libglew-dev
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Prepare Xmake
|
||||
uses: xmake-io/github-action-setup-xmake@v1
|
||||
with:
|
||||
xmake-version: branch@master
|
||||
actions-cache-folder: '.xmake-cache'
|
||||
|
||||
- name: XMake config
|
||||
run: xmake f -p linux -y --root
|
||||
|
||||
- name: Build
|
||||
run: xmake --root
|
||||
|
||||
- name: Test
|
||||
run: xmake test --root
|
||||
@@ -3,6 +3,7 @@ add_rules("mode.debug", "mode.release")
|
||||
add_defines("TD_IMPL_OPENGL_LOADER_GLEW")
|
||||
add_requires("libsdl >= 2", "zlib", "glew")
|
||||
|
||||
set_languages("c++17")
|
||||
|
||||
target("TowerDefenseData")
|
||||
set_kind("static")
|
||||
@@ -10,8 +11,6 @@ target("TowerDefenseData")
|
||||
add_includedirs("include")
|
||||
add_files("src/td/**.cpp")
|
||||
|
||||
set_languages("c++17")
|
||||
|
||||
add_packages("zlib")
|
||||
|
||||
add_links("pthread")
|
||||
|
||||
Reference in New Issue
Block a user