46 Commits

Author SHA1 Message Date
Ryan Houdek
1c580ec92c Thunks: Adds functional thunk testing to CI
This is the bare minimum, it only tests glxinfo and vulkaninfo with and
without thunks. Nothing more special than that. Already found the .1 bug
with libvulkan host library loading.
2022-09-14 12:48:13 -07:00
Ryan Houdek
790447115c CI: Set CMAKE_INSTALL_PREFIX
This will be used in the next commit
2022-09-13 17:21:03 -07:00
Ryan Houdek
44c62e703e github: Adds vixl simulator CI 2022-09-07 20:08:50 -07:00
Ryan Houdek
7cb413dde6 Github: Fix fresh runner rootfs checkout
build folder doesn't exist on a freshly started runner.
Executing the rootfs fetch script doesn't care what the working
directory is. Doesn't need to be in `build/` which doesn't exist on a
fresh runner and will fail chdir.
2022-09-02 15:15:21 -07:00
Ryan Houdek
e5237d1149 Github: Enable Thunkgen tests 2022-08-12 14:31:18 -07:00
Ryan Houdek
baf52ed286 CI: Try building thunks 2022-08-09 05:30:53 -07:00
Stefanos Kornilios Misis Poiitidis
40ec910108 unittests: Add FEXLinuxTests, with a few signal and smc tests 2022-06-10 08:34:40 +03:00
Ryan Houdek
a3d8fe2362 github: Allow CI to fetch its own rootfs
Just need to set some environment variables and execute our new script
2022-06-09 20:08:24 -07:00
Ryan Houdek
f33a93b0a1 github: Reenable struct verifier tests 2022-06-03 19:15:32 -07:00
Ryan Houdek
b2b0c277f6 github: Disable struct verifier
Needs to be validated again. Xavier is really hating it.
2022-06-02 05:00:10 -07:00
Ryan Houdek
10ad5db686 Adds an option to disable the IR interpreter
By default we won't build with the interpeter to reduce user confusion.
The interpreter isn't really useful to end users so remove it.

Completely removes it from building except for the fallback operations.

This also removes the selection from FEXConfig to remove selection
confusion there.

File Stats:
FEXLoader Size with Interpreter:    3422768 bytes
FEXLoader Size without Interpreter: 3301944 bytes
Size difference:                    96.4699915%
Bytes removed:                      120824 bytes
4k pages removed:                   29.498046875 -> 30 rounded up

VM Stats (Reported from bloaty):
Memory Size with Interpreter:    6.50Mi
Memory Size without Interpreter: 6.38Mi
Size difference:                 98.1538462%
2022-02-01 13:00:29 -08:00
lioncash
51b335914c github: Synchronize submodules before checking them out
Ensures that we don't get stale remotes.
2022-01-20 17:57:45 -05:00
Ryan Houdek
3a3e2776ba Adds Game bug issue template 2021-12-25 12:29:59 -08:00
Ryan Houdek
dc44caa178 Github: Adds the new APITests to the github workflow 2021-12-07 11:55:26 -08:00
Ryan Houdek
26b4bd80bf Force 32-bit allocator for CI 2021-05-01 09:19:55 -07:00
Ryan Houdek
26bf903b93 Enables ARMv8.4 CI runner
Requires #990 and #993 to be merged first
2021-04-27 23:16:39 -07:00
Ryan Houdek
3e250fa071 Enables GCC 32-bit unit tests
Relies on #950 getting merged first
2021-04-05 23:09:06 -07:00
Ryan Houdek
042a71be96 Get the runner's label for testing disabled tests later 2021-03-22 09:03:48 -07:00
Ryan Houdek
fbe2583a04 Fix truncating to not set the log files to 21MB 2021-03-15 15:24:49 -07:00
Ryan Houdek
befe9dcbae Adds struct verifier to github yaml workflow file
This way CI tests this on each commit
2021-03-15 15:24:49 -07:00
Ryan Houdek
ec3883181b Adds x86-64 host performance warning
Lets users know that x86-64 isn't our optimal target but can still be used if passed in a new cmake argument.
Easy enough just pass in -DENABLE_X86_HOST_DEBUG=True to cmake.

Closes #776
2021-03-10 11:36:19 -08:00
Ryan Houdek
12ef69650f Pass log moves on buildbot stage failure
Passes the log movement stage to clean up the output.
Really it is only the first unit test stage that is failing, but each
subsequent log run will have failed to move since the previous stage
didn't run.

Makes it easier to scan over a failure as only the first unit test
failure step.
2021-02-22 18:42:28 -08:00
Ryan Houdek
143cb6d0a5 Always upload artifact results even on failure
This was an oversight of the original commit
2021-02-03 15:59:55 -08:00
Ryan Houdek
6ccdfd11a3 Uploads testing artifacts to github 2021-02-02 06:56:06 -08:00
Stefanos Kornilios Mitsis Poiitidis
25bfab25da CI: Disable gcc target tests for x86-32 2021-01-26 12:37:07 +02:00
Stefanos Kornilios Mitsis Poiitidis
29a8fd0a4a Tests: Add gcc-target-tests for 32 and 64 bit 2021-01-26 12:00:45 +02:00
Stefanos Kornilios Mitsis Poiitidis
26171e639e Tests: Add gvisor tests 2021-01-09 04:17:35 +02:00
Stefanos Kornilios Mitsis Poiitidis
b587a0c4d9 CI: rename master to main 2021-01-05 16:11:04 +02:00
Ryan Houdek
b21767c9e3 Has the github action clean its build folder
We have hit issues where the non-clean folder would end up leaving
artifacts which allowed tests to pass.

Remove the build folder on each run to clean up
2020-09-05 16:58:28 -07:00
Ryan Houdek
9d433902f0 Enables assertions on the buildbot
Will slow down the CI process a bit, but it is better to catch the
assertions
2020-08-29 23:35:26 -07:00
Ryan Houdek
600a350fc9
Disables fast fail in github workflow
We want to see the output from all of our runners.
Usually the x86 runner quickly spins through things and then we never see the ARM results if that side failed.
2020-08-19 14:28:49 -07:00
Ryan Houdek
dcf3899346 Adds new ARMv8.0 runner tag
This ensures we can run on ARMv8.2, ARMv8.0 and X64
2020-07-19 03:39:16 -07:00
Stefanos Kornilios Mitsis Poiitidis
0bc4cc6663
Merge pull request #187 from FEX-Emu/skmp/posix-tests
CI: Add posix-tests
2020-05-26 09:42:54 +03:00
Stefanos Kornilios Mitsis Poiitidis
430ff3e2a6 Move posixtest to ctest, add known failures 2020-05-22 16:23:07 +03:00
Stefanos Kornilios Mitsis Poiitidis
1c314298b8
Merge pull request #178 from FEX-Emu/HdkR/Github_workflow
Ensure local pushes to a branch don't run through CI
2020-05-18 16:51:43 +03:00
Stefanos Kornilios Mitsis Poiitidis
8d8463c869 Update CI scripts 2020-05-18 14:29:32 +03:00
Stefanos Kornilios Mitsis Poiitidis
2498de1f00 Add fex-posixtest-bins as submodule 2020-05-18 13:11:04 +03:00
Stefanos Kornilios Mitsis Poiitidis
cb955c0d0c CI: Add posixtests 2020-05-18 13:10:22 +03:00
Ryan Houdek
c6616a0866 Switches over the unit test running in the github yml file to target
specific unit test categories

Allows us to split out the ASM unit tests and the IR unit tests to their
own independent steps in the yml file
2020-05-09 12:19:36 -07:00
Ryan Houdek
f83874c6b1
Ensure local pushes to a branch don't run through CI
If someone is pushing to a local branch on the repo, then don't run CI.
Only run once someone pushes a PR if local.
This makes it so we don't run CI for a branch twice over.
2020-05-01 16:07:09 -07:00
Ryan Houdek
a10da81c4d Adds ctest step to the CI
This ensures all unit tests are ran every PR and merge
2020-03-18 13:18:22 -07:00
Ryan Houdek
41dbf5b4e7 Adds xbyak to externals
Removes cmake check to see if it exists
2020-03-06 00:20:13 -08:00
Ryan Houdek
445fe97dc6 Update workflow file
We need to checkout submodules
We should run on all branches
2020-03-06 00:20:13 -08:00
Ryan Houdek
73129e59d7 Revert "Revert "Creates cmake build runner workflow""
This reverts commit 4867c98240d9160634e2317d10eac862db0d912a.
Public!
2020-03-05 23:26:30 -08:00
Ryan Houdek
4867c98240 Revert "Creates cmake build runner workflow"
This reverts commit 0cff80349c3ec43df3626996d2510421e40f0e45.
Github Actions don't work on legacy org repos without a payment plan
2020-03-06 09:08:50 +02:00
Ryan Houdek
81bcfc8009 Creates cmake build runner workflow 2020-03-06 09:08:50 +02:00