to work very hard / to slog
Colloquial.
He was slogging away all weekend.
—How did they finish on time? —By slogging away all weekend.