Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions configuration 2 #108

Merged
merged 15 commits into from
Oct 23, 2021
Merged

GitHub Actions configuration 2 #108

merged 15 commits into from
Oct 23, 2021

Conversation

kekyo
Copy link
Owner

@kekyo kekyo commented Oct 21, 2021

  • Self-hosted
  • Turn into docker container (linux)
  • Turn into docker container (windows)

Because IL2C building and testing are consumed many computing time and slower on GitHub Actions.
I need to switch self hosting and configured as code.

@kekyo
Copy link
Owner Author

kekyo commented Oct 23, 2021

I found failure linux regression test in part of Interoperability, it requires to rewrite using posix API sets.

@kekyo
Copy link
Owner Author

kekyo commented Oct 23, 2021

Fixed failure all regression test on linux mono.
And got results failure over 100 tests.

Interesting cases:

  Failed Int64ToUInt32(12345678) [955 ms]
  Error Message:
   System.InvalidProgramException : Invalid IL code in IL2C.ILConverters.Box_Narrowing:Box_Int64ToUInt32 (long): IL_0001: box       0x01000019


  Stack Trace:
    at IL2C.ILConverters.Box_Narrowing.Int64ToUInt32 (System.Int64 value) [0x00001] in <388a0caad905431c8bad8b9c06952e63>:0 
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 
  Failed Rem2(12345,47,26) [779 ms]
  Error Message:
   System.InvalidProgramException : Invalid IL code in IL2C.ILConverters.Br:Rem2 (int,int,int): IL_0007: rem       


  Stack Trace:
    at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0 

Maybe these dump means regression test cases have invalid IL sequence and it detected by mono runtime.
Strategy:

  • Going to fix these errors on linux environment, but Rider doesn't show up any test cases on unit test explorer now. Debug cycle is tired...
  • Better way (?) install ILVerify into test fixture project, and debug on Windows (if detected same failure).

@kekyo
Copy link
Owner Author

kekyo commented Oct 23, 2021

Branch will be merged because I wanna split topics it is too large.

@kekyo kekyo merged commit 8cb20d8 into devel Oct 23, 2021
@kekyo
Copy link
Owner Author

kekyo commented Oct 24, 2021

Related #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant