-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,34 +142,34 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: build | ||
run: | | ||
sudo dpkg --add-architecture i386 | ||
sudo apt update | ||
sudo apt-get install cmake curl tar wine wine32 | ||
sudo apt-get install cmake curl tar wine | ||
mkdir build-debug && cd build-debug | ||
export ZIG=zig-linux-x86_64-0.12.0-dev.1834+f36ac227b | ||
curl -o zig.tar.xz "https://ziglang.org/builds/$ZIG.tar.xz" | ||
tar -xf zig.tar.xz | ||
export CC="$(pwd)/$ZIG/zig cc -target x86_64-windows" | ||
cmake .. -DCMAKE_SYSTEM_NAME=Windows | ||
make -j | ||
echo sc_array_test && DISPLAY= wine ./array/sc_array_test.exe | ||
echo sc_buf_test && DISPLAY= wine ./buffer/sc_buf_test.exe | ||
echo sc_cond_test && DISPLAY= wine ./condition/sc_cond_test.exe | ||
echo sc_crc32_test && DISPLAY= wine ./crc32/sc_crc32_test.exe | ||
echo sc_heap_test && DISPLAY= wine ./heap/sc_heap_test.exe | ||
echo sc_ini_test && DISPLAY= wine ./ini/sc_ini_test.exe | ||
echo sc_list_test && DISPLAY= wine ./linked-list/sc_list_test.exe | ||
echo sc_log_test && DISPLAY= wine ./logger/sc_log_test.exe | ||
echo sc_map_test && DISPLAY= wine ./map/sc_map_test.exe | ||
# echo sc_mmap_test && DISPLAY= wine ./memory-map/sc_mmap_test.exe <-- hangs | ||
echo sc_mutex_test && DISPLAY= wine ./mutex/sc_mutex_test.exe | ||
echo sc_option_test && DISPLAY= wine ./option/sc_option_test.exe | ||
echo sc_queue_test && DISPLAY= wine ./queue/sc_queue_test.exe | ||
echo sc_test && DISPLAY= wine ./sc/sc_test.exe | ||
echo sc_signal_test && DISPLAY= wine ./signal/sc_signal_test.exe | ||
# echo sc_socket_test && DISPLAY= wine ./socket/sc_socket_test.exe <-- Assertion failed | ||
echo sc_str_test && DISPLAY= wine ./string/sc_str_test.exe | ||
echo sc_thread_test && DISPLAY= wine ./thread/sc_thread_test.exe | ||
# echo sc_time_test && DISPLAY= wine ./time/sc_time_test.exe <-- wine: Unhandled illegal instruction | ||
echo sc_timer_test && DISPLAY= wine ./timer/sc_timer_test.exe | ||
echo sc_uri_test && DISPLAY= wine ./uri/sc_uri_test.exe | ||
export DISPLAY= | ||
echo sc_array_test && wine ./array/sc_array_test.exe | ||
echo sc_buf_test && wine ./buffer/sc_buf_test.exe | ||
echo sc_cond_test && wine ./condition/sc_cond_test.exe | ||
echo sc_crc32_test && wine ./crc32/sc_crc32_test.exe | ||
echo sc_heap_test && wine ./heap/sc_heap_test.exe | ||
echo sc_ini_test && wine ./ini/sc_ini_test.exe | ||
echo sc_list_test && wine ./linked-list/sc_list_test.exe | ||
echo sc_log_test && wine ./logger/sc_log_test.exe | ||
echo sc_map_test && wine ./map/sc_map_test.exe | ||
# echo sc_mmap_test && wine ./memory-map/sc_mmap_test.exe <-- hangs | ||
echo sc_mutex_test && wine ./mutex/sc_mutex_test.exe | ||
echo sc_option_test && wine ./option/sc_option_test.exe | ||
echo sc_queue_test && wine ./queue/sc_queue_test.exe | ||
echo sc_test && wine ./sc/sc_test.exe | ||
echo sc_signal_test && wine ./signal/sc_signal_test.exe | ||
# echo sc_socket_test && wine ./socket/sc_socket_test.exe <-- Assertion failed | ||
echo sc_str_test && wine ./string/sc_str_test.exe | ||
echo sc_thread_test && wine ./thread/sc_thread_test.exe | ||
# echo sc_time_test && wine ./time/sc_time_test.exe <-- wine: Unhandled illegal instruction | ||
echo sc_timer_test && wine ./timer/sc_timer_test.exe | ||
echo sc_uri_test && wine ./uri/sc_uri_test.exe |