Bring back the 32bit builds for Cydia ##build

This commit is contained in:
pancake 2022-01-14 19:41:26 +01:00 committed by GitHub
parent 0eab6e9fad
commit 5281f27aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 11 deletions

View File

@ -370,6 +370,20 @@ jobs:
run: pip3 install r2pipe; make tests
# Mobile
ios-cydia32:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install pkg-config/ldid2 with Homebrew
run: brew install pkg-config ldid
- name: Create cydia32 package
run: ./sys/ios-cydia32.sh
- name: List sys/cydia
run: ls -lahR ./dist/cydia
- uses: actions/upload-artifact@v2
with:
name: radare2-arm32_${{ steps.extract_version.outputs.branch }}_iphoneos-arm
path: ./dist/cydia/radare2/radare2-arm32_${{ steps.extract_version.outputs.branch }}_iphoneos-arm.deb
ios-cydia:
if: contains(github.ref, 'master') || contains(github.ref, 'ci-')
runs-on: macos-latest
@ -377,14 +391,6 @@ jobs:
- uses: actions/checkout@v2
- name: Install pkg-config/ldid2 with Homebrew
run: brew install pkg-config ldid
# - name: Create cydia32 package
# run: ./sys/ios-cydia32.sh
# - name: List sys/cydia
# run: ls -lahR ./sys/cydia
# - uses: actions/upload-artifact@v2
# with:
# name: radare2-arm32_${{ steps.extract_version.outputs.branch }}_iphoneos-arm
# path: ./dist/cydia/radare2/radare2-arm32_${{ steps.extract_version.outputs.branch }}_iphoneos-arm.deb
- name: Create cydia package
run: ./sys/ios-cydia.sh
- name: Create iOS SDK

View File

@ -2040,7 +2040,7 @@ static int ws_handler_old(void *data, const char *input) {
free (str);
return 0;
}
arg = r_str_trim_head_ro (arg + 1);
arg = (const char *)r_str_trim_head_ro (arg + 1);
ut64 len = r_str_unescape ((char *)arg);
if (len > maxlen) {
eprintf ("Too large\n");

View File

@ -2,10 +2,9 @@
#ifndef R_ANNOTATEDCODE_H
#define R_ANNOTATEDCODE_H
// #include <r_core.h>
#include <r_types.h>
#include <r_vector.h>
#include <r_util/r_new_rbtree.h>
#include <r_util.h>
#ifdef __cplusplus
extern "C" {