File tree Expand file tree Collapse file tree 2 files changed +5
-27
lines changed
Expand file tree Collapse file tree 2 files changed +5
-27
lines changed Original file line number Diff line number Diff line change 1- name : C Code Formatting Check
1+ name : C Code Generation and Formatting Check
22
33on :
44 push :
5- paths :
6- - ' **.c'
7- - ' **.h'
8- - ' .clang-format'
9- - ' .github/workflows/clang-format.yml'
10- pull_request :
11- paths :
12- - ' **.c'
13- - ' **.h'
14- - ' .clang-format'
15- - ' .github/workflows/clang-format.yml'
5+ pull_request : {}
6+ merge_group : {}
167
178jobs :
189 format-check :
5546 - name : bin/setup
5647 run : |
5748 bin/setup
58- - name : Check C code formatting
49+ - name : Check C code generation and formatting
5950 run : |
6051 clang-format --version
61- bundle exec rake templates
52+ bundle exec rake lexer templates compile confirm_lexer confirm_templates
6253 bundle exec rake format:c_check
Original file line number Diff line number Diff line change 2828 - ruby : " 3.4"
2929 job : stdlib_test
3030 rubyopt : " --enable-frozen-string-literal"
31- - ruby : " 3.4"
32- job : lexer templates compile confirm_lexer confirm_templates
3331 - ruby : " 3.4"
3432 job : rubocop validate test_doc build test_generate_stdlib raap
3533 - ruby : " 3.4"
5048 run : |
5149 sudo apt-get update
5250 sudo apt-get install -y libdb-dev curl autoconf automake m4 libtool python3
53- - name : Install Re2c
54- if : ${{ contains(matrix.job, 'lexer') }}
55- run : |
56- cd /tmp
57- curl -L https://github.com/skvadrik/re2c/archive/refs/tags/3.1.tar.gz > re2c-3.1.tar.gz
58- tar xf re2c-3.1.tar.gz
59- cd re2c-3.1
60- autoreconf -i -W all
61- ./configure
62- make
63- sudo make install
6451 - name : Update rubygems & bundler
6552 run : |
6653 ruby -v
You can’t perform that action at this time.
0 commit comments