Skip to content

Commit 027e36b

Browse files
fix: change gcc-13 to gcc-11
Signed-off-by: VyacheslavIurevich <vyacheslav.kochergin1@gmail.com>
1 parent 0718bce commit 027e36b

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
GHIDRA_INSTALL_DIR: /ghidra
1616
strategy:
1717
matrix:
18-
python-version: ["3.11"]
18+
python-version: ["3.12"]
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Set up Python ${{ matrix.python-version }}
@@ -25,11 +25,7 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
apt update
28-
apt install build-essential -y
29-
apt install software-properties-common -y
30-
add-apt-repository ppa:ubuntu-toolchain-r/test
31-
apt update
32-
apt install gcc-13 -y
28+
apt install build-essential -y
3329
python -m pip install --upgrade pip
3430
pip install -r requirements.txt
3531
- name: Run tests

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Development:
1313
* [Shellcheck](https://www.shellcheck.net/)
1414

1515
Running tests:
16-
* [GCC 13](https://gcc.gnu.org/)
16+
* [GCC 11](https://gcc.gnu.org/)
1717

1818
# Setup
19-
Ensure that you do have Python with installed pip, Ghidra app and GCC-13 compiler. If you want to run CI scripts, ensure you do have shellcheck installed.
19+
Ensure that you do have Python with installed pip, Ghidra app and GCC 11 compiler. If you want to run CI scripts, ensure you do have shellcheck installed.
2020
Then just clone the repo
2121
using HTTPS:
2222
```shell
@@ -55,7 +55,7 @@ python3 run.py res/in/hello_world res/out/hello_world.c
5555
```
5656
After this, you can try to compile output code. Example with GCC:
5757
```shell
58-
gcc-13 res/out/hello_world.c
58+
gcc-11 res/out/hello_world.c
5959
```
6060
Enjoy!
6161
# Running tests

src/tests/user_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
INPUT_DIRECTORY = "res/in/"
88
OUTPUT_PATH = "res/out/code.c"
9-
COMPILER = "gcc-13"
9+
COMPILER = "gcc-11"
1010

1111

1212
@pytest.fixture(scope='module')

0 commit comments

Comments
 (0)