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

Update main (v3.6.0) on 2022-06-29 #371

Merged
merged 362 commits into from
Jun 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
362 commits
Select commit Hold shift + click to select a range
1c76a31
Merge pull request #291 from ut-issl/feature/fix_pytest_confest
meltingrabbit Mar 10, 2022
7938d50
fix TF_ACK and tlm func
meltingrabbit Mar 8, 2022
5cb7c71
fix tf copy func to use memcpy
meltingrabbit Mar 8, 2022
0c6b866
fix style
meltingrabbit Mar 8, 2022
bf5eb7c
fix how to get cmd param in tf
meltingrabbit Mar 8, 2022
be935a2
add test_telemetry_frame.py
meltingrabbit Mar 8, 2022
b715d77
fix tf tlm
meltingrabbit Mar 9, 2022
cab664c
fix var name
meltingrabbit Mar 9, 2022
2641e5c
add test
meltingrabbit Mar 9, 2022
975d3fb
apply black
meltingrabbit Mar 9, 2022
f556a34
fix typo
meltingrabbit Mar 9, 2022
db7c470
update version
meltingrabbit Mar 12, 2022
365e461
Merge pull request #288 from ut-issl/feature/fix_TF_ACK
meltingrabbit Mar 12, 2022
23f1dc7
fix CmdTlm dir name
meltingrabbit Mar 12, 2022
99c11f4
Merge pull request #295 from ut-issl/feature/fix_CmdTlm_dir_name
meltingrabbit Mar 13, 2022
31536a8
fix EL note tlm
meltingrabbit Mar 17, 2022
b4fd2c7
fix pytest
meltingrabbit Mar 17, 2022
0e497f6
Merge pull request #297 from ut-issl/feature/fix_type_of_el_note_in_tlm
meltingrabbit Mar 18, 2022
4008c5e
Update actions/cache action to v3
renovate-bot Mar 21, 2022
192b3f5
Merge pull request #298 from ut-issl/renovate/actions-cache-3.x
sksat Mar 21, 2022
f3b460e
TC Segment の改善
yngyu Mar 8, 2022
f6e12f3
gs.c 側までの修正で一旦
yngyu Mar 8, 2022
0f70187
gs validate を修正
yngyu Mar 8, 2022
715d715
modify GS tlm
yngyu Mar 8, 2022
162498f
fix a little
yngyu Mar 8, 2022
cebd867
微修正 & CRC関数に変更
yngyu Mar 8, 2022
5c29a4d
fix file name
yngyu Mar 9, 2022
b00a9b8
基本的にTCTF に改名
yngyu Mar 9, 2022
db2cd77
fix command logic
yngyu Mar 9, 2022
730b750
fix file & struct name
yngyu Mar 9, 2022
60e6d48
fix little
yngyu Mar 9, 2022
49d1700
fix small
meltingrabbit Mar 9, 2022
76ef4ca
header 設定を変更
yngyu Mar 10, 2022
25fd4a3
fix little
yngyu Mar 10, 2022
2724897
コメントを追加 & 型を一部変更
yngyu Mar 11, 2022
4b81de3
add blanks
yngyu Mar 11, 2022
19f60c7
change struct
yngyu Mar 11, 2022
67f887d
modify comments
yngyu Mar 12, 2022
e3880c1
modify tlm def
yngyu Mar 13, 2022
86796a8
fix comments
yngyu Mar 13, 2022
4a651a3
不必要な情報を削除
yngyu Mar 13, 2022
9535d24
アプリ側で不必要な情報を削除
yngyu Mar 13, 2022
cdaa4e8
add comment
meltingrabbit Mar 13, 2022
e34166b
modify type
yngyu Mar 13, 2022
3a3e510
細かい修正
yngyu Mar 14, 2022
1f75e34
fix indent
meltingrabbit Mar 16, 2022
31b1f09
微修正
yngyu Mar 20, 2022
a7a06a2
fix bug
yngyu Mar 21, 2022
f041e35
fix small
meltingrabbit Mar 21, 2022
0e9d43e
fix comment
meltingrabbit Mar 21, 2022
b4a3716
削除
yngyu Mar 22, 2022
8f91e97
Merge pull request #287 from ut-issl/feature/fix_cmd_packet_struct
yngyu Mar 22, 2022
7904695
add EH init rule
meltingrabbit Mar 23, 2022
0a20b2d
add test
meltingrabbit Mar 23, 2022
566db9b
fix small
meltingrabbit Mar 23, 2022
eff35f3
add eh debug app
meltingrabbit Mar 23, 2022
42f6dd4
fix
meltingrabbit Mar 23, 2022
0afb4cf
delete warnings
meltingrabbit Mar 23, 2022
4805eb3
Merge pull request #302 from ut-issl/feature/fix_eh_enable_cmd
meltingrabbit Mar 24, 2022
84e1b40
add EL_record_event in CDIS_dispatch_cmd
chutaro Mar 1, 2022
aafedb9
fix CIDX to CDIS
chutaro Mar 1, 2022
b175f58
change err_level from high to low
chutaro Mar 3, 2022
4c303d9
modify EL pytest
chutaro Mar 14, 2022
954fad4
add pytest of CDIS
chutaro Mar 17, 2022
85fb675
fix small
chutaro Mar 29, 2022
71bef77
Merge pull request #268 from ut-issl/feature/record_CDIS_err_to_EL
chutaro Apr 1, 2022
05f5dca
add ignore settings to check rule
meltingrabbit Apr 4, 2022
eeec42a
fix small
meltingrabbit Apr 4, 2022
f7d35c5
Merge pull request #309 from ut-issl/feature/add_ignore_list_to_check…
meltingrabbit Apr 4, 2022
67629a6
fix eol check
meltingrabbit Apr 4, 2022
446ed26
Merge pull request #310 from ut-issl/feature/fix_eol_check_script
meltingrabbit Apr 4, 2022
29d9f5e
update tlm db
meltingrabbit Apr 4, 2022
fdf1236
update version
meltingrabbit Apr 4, 2022
9b502b5
Merge pull request #311 from ut-issl/feature/update_tlm_db
meltingrabbit Apr 4, 2022
b3eb48f
add TL for mission
chutaro Mar 3, 2022
c81d167
adapt to utl_mis
chutaro Apr 4, 2022
ab9cb87
reflect review
chutaro Apr 4, 2022
108e96c
fix for coding rule
chutaro Apr 4, 2022
c9cad98
change sleep time
chutaro Apr 4, 2022
746dfb1
Merge pull request #312 from ut-issl/feature/change_sleep_in_test_cdis
chutaro Apr 4, 2022
37c3382
change TLCD_ENABLE_MISSION_TL etc
chutaro Apr 5, 2022
624026f
add doxygen comments
chutaro Apr 5, 2022
dd691f9
Merge pull request #307 from ut-issl/feature/divide_tl0
chutaro Apr 6, 2022
79029fd
add assertion in bcl
meltingrabbit Apr 11, 2022
124aa85
Merge pull request #315 from ut-issl/feature/add_assertion_in_bcl
meltingrabbit Apr 12, 2022
fc0a835
rename TL0,1,2
chutaro Apr 10, 2022
6f60c66
make line_no enum
chutaro Apr 10, 2022
7cd3463
change line_no from int to TL_ID
chutaro Apr 11, 2022
54329ad
use TL_ID in PH
chutaro Apr 11, 2022
15f0bd2
add doxygen
chutaro Apr 12, 2022
a074988
create struct, change TL_ID to TLCD_ID
chutaro Apr 13, 2022
f601839
change ccp_exec_type
chutaro Apr 13, 2022
acb1c7a
modify tlmcmd db
chutaro Apr 13, 2022
27ff30c
rename TL0,1,2 in PH etc
chutaro Apr 15, 2022
2a42723
modify tlm db
chutaro Apr 15, 2022
111ceae
modify HK tlm
chutaro Apr 15, 2022
69175ed
reflect review
chutaro Apr 20, 2022
4152bd3
modify dummy in HK
chutaro Apr 21, 2022
7c8281b
update version
chutaro Apr 22, 2022
a762f94
Merge pull request #314 from ut-issl/feature/refactor_tlcd
chutaro Apr 22, 2022
9dac311
fix comment style
meltingrabbit Apr 22, 2022
6061b1f
Merge pull request #322 from ut-issl/feature/fix_comment_style
meltingrabbit Apr 22, 2022
5dcf9cd
add pytest of TLCD
chutaro Apr 12, 2022
fc2e932
fix small
chutaro Apr 13, 2022
fffcdb4
add final check
chutaro Apr 15, 2022
158280f
add cmd_id, params check
chutaro Apr 15, 2022
b1b0345
16進数で比較するようにした
chutaro Apr 25, 2022
d67de16
update version
chutaro Apr 25, 2022
339f356
Merge pull request #316 from ut-issl/feature/add_pytest_of_TLCD
chutaro Apr 25, 2022
01e8be6
add ccp register cmd
yngyu Apr 22, 2022
1041143
コメントを追加
yngyu Apr 22, 2022
8c1c389
コメントを追加 & 引数から packet を削除
yngyu Apr 25, 2022
3a66e5b
コメントの修正 & static の削除
yngyu Apr 26, 2022
894223a
fix small
meltingrabbit Apr 26, 2022
bb99a60
Merge pull request #320 from ut-issl/feature/ccp_send_cmd
yngyu Apr 26, 2022
80c45a7
modify tl_tlm index
chutaro May 2, 2022
35b6e32
Merge pull request #325 from ut-issl/hotfix/modify_TLC_tlm
chutaro May 2, 2022
8e25f45
Add compile option for VS
200km Apr 26, 2022
6336eff
fix s2e build ci according to S2E core update
meltingrabbit May 13, 2022
0e10d92
Merge pull request #324 from ut-issl/feature/modify-for-s2e-core-update
200km May 14, 2022
76cb9af
restore aobc info
chutaro May 16, 2022
7e9691b
Merge pull request #327 from ut-issl/hotfix/restore_aobc_info_in_tlm_…
chutaro May 16, 2022
226bc69
adapt to 0.1s UTL
chutaro May 10, 2022
eaa7bdb
fix small
chutaro May 10, 2022
cad6ca6
add TLC_PAST_TIME case
chutaro May 10, 2022
280e8cf
tiチェックの幅を1に狭めた
chutaro May 11, 2022
0b153a0
add get_ti_from_unixtime
chutaro May 13, 2022
8d63d10
fix precise
chutaro May 13, 2022
f76c30d
update ver_pre
chutaro May 16, 2022
e9f102b
Merge pull request #326 from ut-issl/feature/modify_utl_pytest
chutaro May 16, 2022
7923843
fix CMake option default value config
sksat May 18, 2022
152e179
fix build C2A core as CMake object library
sksat May 18, 2022
1ee92fa
fix link C2A core module(CMake object library) link with target_sourc…
sksat May 18, 2022
3a4227c
add show cmake version
sksat May 18, 2022
2cd9857
Merge pull request #329 from ut-issl/hotfix/wrong-cmake-default-option
sksat May 19, 2022
e64e3db
Merge pull request #330 from ut-issl/hotfix/fix-libc2a-build
sksat May 19, 2022
cfb69c1
flgas to flags
chutaro May 20, 2022
f227a96
Merge pull request #332 from ut-issl/feature/spell_of_flags
chutaro May 20, 2022
17fe44e
simplify tlm
meltingrabbit May 16, 2022
b9cb0a6
simplify tlm
meltingrabbit May 16, 2022
d16a326
Merge pull request #328 from ut-issl/feature/simplify_tlm
meltingrabbit May 20, 2022
607bad4
fix for c89
meltingrabbit May 23, 2022
7dfba0e
Merge pull request #333 from ut-issl/feature/fix_spi_for_c89
meltingrabbit May 23, 2022
a65860d
ignore example user's main() on SILS environment
sksat May 31, 2022
e22dbe8
add DEFINE_MAIN_ON_SILS flag for force define main() on SILS
sksat May 31, 2022
d00f04f
fix force define main() on SILS mockup
sksat May 31, 2022
9782c71
Merge pull request #336 from ut-issl/feature/ignore-main-on-sils
sksat May 31, 2022
f4aa9a5
Update crazy-max/ghaction-github-labeler action to v4
renovate-bot May 31, 2022
0ede997
Merge pull request #334 from ut-issl/renovate/crazy-max-ghaction-gith…
sksat May 31, 2022
b880e77
fix BUILD_C2A_AS_CXX option meaning on MSVC
sksat Jun 3, 2022
bb4f98d
add BUILD_C2A_AS_UTF8 option(default ON)
sksat Jun 3, 2022
dd4cffa
add BUILD_C2A_AS_CXX description and default config(OFF)
sksat Jun 3, 2022
13b184b
add BUILD_C2A_AS_SILS_FW option(default ON)
sksat Jun 3, 2022
d4d1270
fix small
meltingrabbit Jun 4, 2022
671d2e9
add by group func in EH
meltingrabbit Jun 5, 2022
d2b2aac
fix warning
meltingrabbit Jun 5, 2022
b7da49f
fix eh init bug
meltingrabbit Jun 5, 2022
ae9027b
update eh test
meltingrabbit Jun 5, 2022
a118ed2
apply black
meltingrabbit Jun 5, 2022
6d2e320
Merge pull request #339 from ut-issl/feature/options-for-real-user
sksat Jun 8, 2022
d16250d
Merge pull request #340 from ut-issl/feature/update_eh
meltingrabbit Jun 8, 2022
6fa7849
Update actions/setup-python action to v4
renovate-bot Jun 8, 2022
cb63565
Merge pull request #343 from ut-issl/renovate/actions-setup-python-4.x
meltingrabbit Jun 9, 2022
bf96bcc
fix python ver in wf
meltingrabbit Jun 9, 2022
a309dbf
form tlc と register tlc に type を追加
yngyu Apr 22, 2022
3d2bb10
CCP_get_packet_list_from_exec_type を追加
yngyu Apr 22, 2022
3b87f34
tlc_asap を追加
yngyu Apr 22, 2022
e52cb64
register_tlc_asap を追加
yngyu Apr 22, 2022
a79d584
fix rec type
yngyu Apr 22, 2022
48e3b3e
コメントを修正 & buf fix
yngyu May 12, 2022
3686497
form & resgister app に type 追加
yngyu May 12, 2022
261f6af
fix bug
yngyu May 12, 2022
41d34cc
add neww test app
yngyu May 12, 2022
1d1e29f
add test app command
yngyu May 12, 2022
b148a62
add test
yngyu May 12, 2022
38b5550
move funcs
yngyu Jun 12, 2022
669549c
fix logic
yngyu Jun 12, 2022
8b2d684
fix funcs using
yngyu Jun 12, 2022
5b9399a
change path
yngyu Jun 12, 2022
a2b6410
fix little
yngyu Jun 12, 2022
8556021
add python version
meltingrabbit Jun 12, 2022
c761151
fix .python-version
meltingrabbit Jun 12, 2022
873b300
fix small
meltingrabbit Jun 12, 2022
94c472e
fix csv
yngyu Jun 12, 2022
36de285
modify rec
yngyu Jun 12, 2022
ce7b1b6
add nullcheck & fix comment
yngyu Jun 12, 2022
25fd24f
fix small
meltingrabbit Jun 12, 2022
2e69049
Merge pull request #321 from ut-issl/feature/imporve_ccp_util_tl
yngyu Jun 12, 2022
695a19f
Merge pull request #344 from ut-issl/feature/fix_python_ver_in_wf
meltingrabbit Jun 13, 2022
1fbc1ea
fix python version
meltingrabbit Jun 13, 2022
5d7a9d9
Merge pull request #347 from ut-issl/feature/fix_python_version
meltingrabbit Jun 13, 2022
8f64180
add sample ops
meltingrabbit Jun 14, 2022
09724e8
Delete .gitkeep
meltingrabbit Jun 14, 2022
dd79631
Update communication.md
meltingrabbit Jun 15, 2022
e816f5d
Merge pull request #351 from ut-issl/feature/update_dest_type_docs
meltingrabbit Jun 15, 2022
e451be5
Merge pull request #348 from ut-issl/feature/add_sample_ops
meltingrabbit Jun 15, 2022
95e8d4e
fix check_include_guard_
meltingrabbit Jun 15, 2022
462ed1b
Merge pull request #352 from ut-issl/feature/fix_code_rule_check
meltingrabbit Jun 15, 2022
4f1620c
fix CMake option typo
sksat Jun 16, 2022
b1f5a48
Merge pull request #358 from ut-issl/feature/fix-cmake-option-typo
sksat Jun 16, 2022
63180cc
support sub obc cmd
chutaro Jun 14, 2022
d522a7f
rename sub obc, create static form_rtc
chutaro Jun 16, 2022
199ff45
fix comments
chutaro Jun 16, 2022
052255b
other に揃えた
chutaro Jun 16, 2022
c7550c6
fix small
meltingrabbit Jun 16, 2022
1e09e0c
add comment
meltingrabbit Jun 16, 2022
848d289
Merge pull request #349 from ut-issl/feature/support_sub_obc_cmd
chutaro Jun 16, 2022
23291cc
fix printf
meltingrabbit Jun 15, 2022
50ca4e1
Merge pull request #355 from ut-issl/feature/fix_printf
meltingrabbit Jun 16, 2022
b7115f7
prepare gitignore for rename dir
meltingrabbit Jun 16, 2022
43af243
rename minimum_user_for_s2e to minimum_user
meltingrabbit Jun 16, 2022
8e8171a
fix minimum_user path
meltingrabbit Jun 16, 2022
f970806
chmod
meltingrabbit Jun 16, 2022
2d42224
Merge pull request #362 from ut-issl/feature/rename_minimum_user_for_s2e
meltingrabbit Jun 17, 2022
e435960
move test app to core
meltingrabbit Jun 17, 2022
d8bc26a
Merge pull request #359 from ut-issl/feature/move_test_app_to_core
meltingrabbit Jun 17, 2022
a218c5d
move apid validation to user part
meltingrabbit Jun 15, 2022
bd1776d
fix tlm header for 2nd obc tlm
meltingrabbit Jun 15, 2022
4b746f2
fix for review
meltingrabbit Jun 16, 2022
b3b4f84
fix small
meltingrabbit Jun 17, 2022
c55d990
Merge pull request #353 from ut-issl/feature/user_apid
meltingrabbit Jun 17, 2022
abc9f62
move dest_type validation to user
meltingrabbit Jun 15, 2022
a54b1c2
add include
meltingrabbit Jun 15, 2022
9377c02
fix path
meltingrabbit Jun 17, 2022
64fe322
Merge pull request #354 from ut-issl/feature/user_dest_type
meltingrabbit Jun 17, 2022
dd0ba40
add ccp form and exec func
meltingrabbit Jun 23, 2022
4d5cf22
update bc deploy
meltingrabbit Jun 23, 2022
2e9bb3a
add comment
meltingrabbit Jun 23, 2022
b912b4c
Merge pull request #364 from ut-issl/feature/ccp_form_and_exec
meltingrabbit Jun 23, 2022
aa37d7f
global time をユーザー定義に
chutaro Jun 27, 2022
0a3ee37
fix small
meltingrabbit Jun 28, 2022
c3b7ebf
Merge pull request #367 from ut-issl/feature/global_time
chutaro Jun 28, 2022
ed6ebee
add ccp get raw util
meltingrabbit Jun 26, 2022
4f5b42a
fix bug
meltingrabbit Jun 26, 2022
da7cba2
add test for CCP util
meltingrabbit Jun 27, 2022
d3dd404
Merge pull request #365 from ut-issl/feature/add_ccp_param_utill
meltingrabbit Jun 28, 2022
e770a7c
add param generator
meltingrabbit Jun 26, 2022
337ef54
fix bug
meltingrabbit Jun 26, 2022
2282e6d
fix bug
meltingrabbit Jun 26, 2022
8a1fbd1
add bct_id_t setter
meltingrabbit Jun 27, 2022
56dc83a
use new ParamGenerator at CCP UTIL
meltingrabbit Jun 27, 2022
d58a5fd
fix bug
meltingrabbit Jun 27, 2022
b0dfb2f
Update check_coding_rule.py
meltingrabbit Jun 27, 2022
52d886b
Merge pull request #366 from ut-issl/feature/make_param
meltingrabbit Jun 28, 2022
87efbc2
remove unneeded CMake target_properties()
sksat Jun 28, 2022
09f157c
Merge pull request #368 from ut-issl/hotfix/remove-unneeded-cmake-tar…
sksat Jun 28, 2022
e947d86
update readme
meltingrabbit Jun 28, 2022
f63f25b
Merge pull request #369 from ut-issl/feature/update_readme
meltingrabbit Jun 28, 2022
c166fd7
update version to v3.6.0
meltingrabbit Jun 28, 2022
577e7cd
Merge pull request #370 from ut-issl/feature/update_version_3-6-0
meltingrabbit Jun 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: reviewdog/action-actionlint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/build_as_c89.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ jobs:
matrix: ${{ fromJson(needs.gen_build_matrix.outputs.matrix) }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: install deps
run: |
sudo apt-get update
sudo apt-get install -y libc6-dev-i386 nkf

# - name: convert Shift-JIS to UTF-8
Expand All @@ -79,23 +80,24 @@ jobs:
echo "::set-output name=WEXTRA::${WEXTRA}"

- name: cmake
working-directory: ./Examples/minimum_user_for_s2e
working-directory: ./Examples/minimum_user
env:
CC: ${{ matrix.compiler }}
run: |
mkdir build
cd build
cmake --version
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DUSE_SILS_MOCKUP=ON -DADD_WERROR_FLAGS=${{ steps.compile_flags.outputs.WERROR }} -DADD_WEXTRA_FLAGS=${{ steps.compile_flags.outputs.WEXTRA }}

- name: build
id: build
continue-on-error: ${{ matrix.compiler == 'clang' }}
working-directory: ./Examples/minimum_user_for_s2e/build
working-directory: ./Examples/minimum_user/build
run: cmake --build .

- name: run
if: steps.build.outcome == 'success'
working-directory: ./Examples/minimum_user_for_s2e/build
working-directory: ./Examples/minimum_user/build
shell: bash
run: timeout 3 ./C2A || exit 0

Expand All @@ -110,22 +112,22 @@ jobs:

- name: clang-tidy
if: matrix.compiler == 'clang'
working-directory: ./Examples/minimum_user_for_s2e/build
working-directory: ./Examples/minimum_user/build
run: |
run-clang-tidy-11 \
| sed 's/\/home\/runner\/work\/c2a-core\/c2a-core\///g' \
| sed 's/Examples\/minimum_user_for_s2e\/src\/src_core\///g' \
| sed 's/Examples\/minimum_user\/src\/src_core\///g' \
> clang_tidy.log

- name: clang-tidy result
if: matrix.compiler == 'clang'
working-directory: ./Examples/minimum_user_for_s2e/build
working-directory: ./Examples/minimum_user/build
run: cat clang_tidy.log

- name: remove duplicate error
if: matrix.compiler == 'clang'
run: |
python Script/CI/remove_duplicate_error.py ./Examples/minimum_user_for_s2e/build/clang_tidy.log "clang-tidy" | tee clang_tidy.log
python Script/CI/remove_duplicate_error.py ./Examples/minimum_user/build/clang_tidy.log "clang-tidy" | tee clang_tidy.log

- name: reviewdog clang-tidy (github-pr-review)
if: matrix.compiler == 'clang' && matrix.warning == 'Werror'
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/build_as_cxx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,41 @@ jobs:
build_minimum_user_as_cxx:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: setup
shell: cmd
run: ./setup.bat

- name: cmake
working-directory: ./Examples/minimum_user_for_s2e
working-directory: ./Examples/minimum_user
run: |
mkdir build
cd build
cmake --version
cmake .. -A Win32

- name: build
working-directory: ./Examples/minimum_user_for_s2e/build
working-directory: ./Examples/minimum_user/build
run: cmake --build .

build_s2e_mockup:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: setup
shell: cmd
run: ./setup.bat

- name: cmake
working-directory: ./Examples/minimum_user_for_s2e/src/s2e_mockup
working-directory: ./Examples/minimum_user/src/s2e_mockup
run: |
mkdir build
cd build
cmake --version
cmake .. -A Win32

- name: build
working-directory: ./Examples/minimum_user_for_s2e/src/s2e_mockup/build
working-directory: ./Examples/minimum_user/src/s2e_mockup/build
run: cmake --build .
93 changes: 93 additions & 0 deletions .github/workflows/build_with_s2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: build with S2E

on:
push:
branches:
- main
- develop
pull_request:

env:
S2E_CORE_VERSION: v5.0.0

jobs:
build_s2e_win:
name: Build on Windows VS2022
runs-on: windows-2022

steps:
- name: checkout S2E core
uses: actions/checkout@v3
with:
path: s2e-core
repository: ut-issl/s2e-core
ref: '${{ env.S2E_CORE_VERSION }}'
fetch-depth: 1

- name: checkout S2E user
uses: actions/checkout@v3
with:
path: s2e-user
repository: ut-issl/s2e-user-for-c2a-core
fetch-depth: 1

- name: checkout C2A user
uses: actions/checkout@v3
with:
path: c2a-core

- name: setup C2A
shell: cmd
working-directory: c2a-core
run: setup.bat

- name: Configure build for x86
uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64_x86

- name: cache extlib
id: cache-extlib
uses: actions/cache@v3
with:
key: extlib-${{ runner.os }}-${{ hashFiles('./s2e-core/ExtLibraries/**') }}
path: ./s2e-core/ExtLibraries

- name: build extlib
if: steps.cache-extlib.outputs.cache-hit != 'true'
shell: powershell
working-directory: ./s2e-core/ExtLibraries
run: |
$extlib_dir=(pwd).Path
cmake -G "Visual Studio 17 2022" -A Win32 -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" -DEXT_LIB_DIR="${extlib_dir}"
cmake --build . --clean-first

- name: install extlib
if: steps.cache-extlib.outputs.cache-hit != 'true'
shell: powershell
working-directory: ./s2e-core/ExtLibraries
run: |
cmake --install .

- name: check extlib
shell: powershell
working-directory: ./s2e-core/ExtLibraries
run: |
ls cspice
ls cspice/cspice_msvs/lib
ls cspice/include
ls cspice/generic_kernels
ls nrlmsise00
ls nrlmsise00/table
ls nrlmsise00/lib
ls nrlmsise00/lib/libnrlmsise00.lib
ls nrlmsise00/src

- name: build
working-directory: ./s2e-user
shell: cmd
run: |
cl.exe
cmake --version
cmake -G "Visual Studio 17 2022" -A Win32 -DCMAKE_CONFIGURATION_TYPES:STRING="Debug" -DEXT_LIB_DIR=../s2e-core/ExtLibraries -DFLIGHT_SW_DIR=../c2a-core -DC2A_NAME=Examples/minimum_user -DUSE_C2A=ON
cmake --build . --clean-first
10 changes: 5 additions & 5 deletions .github/workflows/check_coding_rule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
check_coding_rule:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version-file: .github/workflows/.python-version
architecture: 'x64'
- name: setup
shell: bash
Expand All @@ -23,7 +23,7 @@ jobs:
id: check
shell: bash -e {0}
continue-on-error: true
working-directory: ./Examples/minimum_user_for_s2e/src
working-directory: ./Examples/minimum_user/src
run: |
python ./src_core/Script/CI/check_coding_rule.py ./src_core/Script/CI/check_coding_rule.json | tee /tmp/coding-rule.log
status="${PIPESTATUS[0]}"
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
sed 's/.\/src_core\///g' < /tmp/coding-rule.log \
| > ./coding-rule.log \
sed 's/.\/src_user/Examples\/minimum_user_for_s2e\/src\/src_user/g'
sed 's/.\/src_user/Examples\/minimum_user\/src\/src_user/g'
cat ./coding-rule.log

- name: reviewdog(github-pr-review)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check_encoding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
check_encoding:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version-file: .github/workflows/.python-version
architecture: 'x64'
- run: pip install chardet
- name: check_encoding
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v3
uses: crazy-max/ghaction-github-labeler@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_check_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
black_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# - name: check python format with black
# uses: psf/black@stable

- uses: reviewdog/action-black@v2
- uses: reviewdog/action-black@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# reporter: github-pr-review # TODO: いい感じになったら直す
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
flake8_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up python environment
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version-file: .github/workflows/.python-version

- name: flake8 Lint
uses: reviewdog/action-flake8@v3
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/validate-renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: validate / renovate.json

on:
pull_request:
paths:
- 'renovate.json'
- '.github/workflows/validate-renovate.yml'

jobs:
validate-renovate:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3

- name: install
run: |
npm install -g renovate
- name: validate
run: |
renovate-config-validator
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ dkms.conf
._*

# for c2a user sample
Examples/minimum_user_for_s2e/src/src_core
Examples/minimum_user_for_s2e/build
Examples/minimum_user_for_s2e/src/src_user/Test/authorization.json
Examples/minimum_user/src/src_core
Examples/minimum_user/build
Examples/minimum_user/src/src_user/Test/authorization.json
*.pyc
15 changes: 15 additions & 0 deletions Applications/TestApp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cmake_minimum_required(VERSION 3.13)

project(C2A_CORE_TEST_APPS)

set(C2A_SRCS
test_ccp_util.c
)

if(BUILD_C2A_AS_CXX)
set_source_files_properties(${C2A_SRCS} PROPERTIES LANGUAGE CXX) # C++
endif()

add_library(${PROJECT_NAME} OBJECT ${C2A_SRCS})

include(${C2A_CORE_DIR}/common.cmake)
Loading