Skip to content

Commit

Permalink
Check if os.type is working
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakio815 committed Apr 22, 2023
1 parent f2b3ead commit fad4602
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/c-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
- name: Install RTI
uses: ./.github/actions/install-rti
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }}
- name: Setup upterm session
uses: lhotari/action-upterm@v1
- name: Perform tests for C target with default scheduler
run: |
./gradlew test --tests org.lflang.tests.runtime.CTest.*
Expand Down
2 changes: 2 additions & 0 deletions org.lflang/src/org/lflang/generator/c/CCmakeGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ CodeBuilder generateCMakeCode(
if(targetConfig.auth) {
// If security is requested, add the auth option.
var osName = System.getProperty("os.name").toLowerCase();
System.out.println(osName);
System.out.println("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");
// if platform target was set, use given platform instead
if (targetConfig.platformOptions.platform != Platform.AUTO) {
osName = targetConfig.platformOptions.platform.toString();
Expand Down

0 comments on commit fad4602

Please sign in to comment.