Skip to content

Commit 1c38ef8

Browse files
authored
Fixed C/C++ CI workflow & remove MinGW checks.
1 parent 79d61b2 commit 1c38ef8

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

.github/workflows/c-cpp.yml

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,14 @@ jobs:
1818
working-directory: 'likespro.eth - UNIVERSAL'
1919
- name: Run
2020
run: |
21-
'x64\Release\likespro.eth - UNIVERSAL.exe'
21+
'likespro.eth - UNIVERSAL\x64\Release\likespro.eth - UNIVERSAL.exe'
2222
shell: cmd
2323
- name: Upload executable
2424
uses: actions/upload-artifact@v4
2525
with:
2626
name: windows
2727
path: |
28-
'x64\Release\likespro.eth - UNIVERSAL.exe'
29-
build-windows-mingw:
30-
name: build-windows-mingw
31-
runs-on: windows-latest
32-
steps:
33-
- uses: actions/checkout@v4
34-
- name: Set up MinGW
35-
uses: egor-tensin/setup-mingw@v2
36-
- name: Compile with MinGW
37-
run: |
38-
g++ -std=c++17 'likespro.eth - UNIVERSAL/likespro.eth - UNIVERSAL.cpp' -o 'likespro.eth - UNIVERSAL.exe'
39-
- name: Run
40-
run: |
41-
'./likespro.eth - UNIVERSAL.exe'
42-
shell: bash
43-
- name: Upload executable
44-
uses: actions/upload-artifact@v4
45-
with:
46-
name: mingw
47-
path: |
48-
'likespro.eth - UNIVERSAL.exe'
28+
'likespro.eth - UNIVERSAL\x64\Release\likespro.eth - UNIVERSAL.exe'
4929
build-mac-and-ubuntu:
5030
runs-on: ${{matrix.os}}
5131
strategy:
@@ -56,14 +36,14 @@ jobs:
5636
- uses: actions/checkout@v4
5737
- name: Compile with GCC
5838
run: |
59-
g++ -std=c++17 'likespro.eth - UNIVERSAL/likespro.eth - UNIVERSAL.cpp' -o 'likespro.eth - UNIVERSAL'
39+
g++ -std=c++17 'likespro.eth - UNIVERSAL/likespro.eth - UNIVERSAL.cpp' -o 'likespro.eth - UNIVERSAL.o'
6040
- name: Run
6141
run: |
62-
'./likespro.eth - UNIVERSAL'
42+
'./likespro.eth - UNIVERSAL.o'
6343
shell: bash
6444
- name: Upload executable
6545
uses: actions/upload-artifact@v4
6646
with:
6747
name: ${{matrix.os}}
6848
path: |
69-
'likespro.eth - UNIVERSAL'
49+
'likespro.eth - UNIVERSAL.o'

0 commit comments

Comments
 (0)